Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain streamreader/streamwriter class?

985


What are the collection types can be used in c#?

872


What is a method c#?

977


Explain about Oops concept

944


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

1152


Is it possible to have different access modifiers on the get/set methods of a property?

1020


What is the console on a mac?

923


Why do we need indexers in c#?

916


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

896


What do you mean by saying a "class is a reference type"?

910


Are c# tuples immutable?

916


What are jagged arrays used for?

932


What is a partial class. Give an example?

971


What is the use of getcommandlineargs() method in c#.net?

969


What is the difference between c and c sharp?

999