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

How many types of constructors are there?

0 Answers  


can we throw execption from catchblock

4 Answers   Accenture,


What is marshalling and what are different kinds of marshalling?

0 Answers  


Why multiple inheritance is not possible in c#

8 Answers  


Illustrate race condition?

0 Answers  






What are controls in c#?

0 Answers  


Explain what is the smallest unit of execution in .net?

0 Answers  


What are the problem with .NET generics?

0 Answers   DELL,


How to block a class from being inherited further?

0 Answers  


What is the difference between directcast and ctype?

2 Answers   BirlaSoft, Wipro,


Can you access a hidden base class method in the derived class?

0 Answers  


What is the difference between virtual method and abstract method?

0 Answers  


Categories