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
Explain streamreader/streamwriter class?
What are the collection types can be used in c#?
What is a method c#?
Explain about Oops concept
in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?
Is it possible to have different access modifiers on the get/set methods of a property?
What is the console on a mac?
Why do we need indexers in c#?
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?
What do you mean by saying a "class is a reference type"?
Are c# tuples immutable?
What are jagged arrays used for?
What is a partial class. Give an example?
What is the use of getcommandlineargs() method in c#.net?
What is the difference between c and c sharp?