How to print labels in windows form in C# .net
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / tabrez ahmed
we can print labels by using LABEL1.TEXT="WELCOME"
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
How would you describe encapsulation in c#?
Is unboxing an implicit conversion?
What basic steps are needed to display a simple report in crystal?
How can you access a private method of a class?
What is definition in c#?
What is null in database?
What?s a multicast delegate?
What is an assembly in .net?
Is std :: string null terminated?
What's the difference between an integer and int?
What is the correct way of declaring an xml namespace?
What?s an interface class?