How to print labels in windows form in C# .net

Answers were Sorted based on User's Feedback



How to print labels in windows form in C# .net..

Answer / vijay lathiya

like if we want to print label1 msg than syntax for it
label1.Text="anything";

Is This Answer Correct ?    21 Yes 9 No

How to print labels in windows form in C# .net..

Answer / gyana

We have to just drag the label from the toolbox and drop it
on the windows form in c# toprint label.

Is This Answer Correct ?    4 Yes 2 No

How to print labels in windows form in C# .net..

Answer / tabrez ahmed

we can print labels by using LABEL1.TEXT="WELCOME"

Is This Answer Correct ?    0 Yes 0 No

How to print labels in windows form in C# .net..

Answer / satish

for printing a data on a label from database for this u
have to declare a label Label1 in the application and then
declare a datarow for retrieving row data from dataset and
the assign it to the label like this
datarow dr=dataset.tables[0].rows[1];
Label1=dr[0].tostring();

Is This Answer Correct ?    3 Yes 4 No

How to print labels in windows form in C# .net..

Answer / gyana

We have to just drag the label from the toolbox and drop it
on the windows form in c# toprint label.

Is This Answer Correct ?    5 Yes 10 No

Post New Answer

More C Sharp Interview Questions

Can you prevent your class from being inherited and becoming a base class for some other classes?

5 Answers  


What?s the advantage of using System.Text.StringBuilder over System.String?

1 Answers  


What is the functionality of break and continue in Visual Studio?

2 Answers   JPMorgan Chase,


what is the use of master pages. how to use it

2 Answers  


Why we use get set in c#?

0 Answers  


Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 Answers  


What is parallel programming in c#?

0 Answers  


What is difference between first and firstordefault?

0 Answers  


What is array and types of array in c#?

0 Answers  


What are static and dynamic variables?

0 Answers   CGI,


How to use reflection to call generic method?

0 Answers  


What is state c#?

0 Answers  


Categories