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 |
What are controls in c#?
Can constructor be private c#?
What's new in c#?
What is difference between interface inheritance and class inheritance ?
can it possible to acees the virthual method using the override method object? plz give me the example
List down the access modifiers available in c#?
Is c# queue thread safe?
Can u list some style properties of List Box?
What is lazy loading and eager loading in c#?
What is a nullreferenceexception and how do I fix it?
What is the delegate in c#?
Are c# strings null terminated?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)