Hi Everyone, the design of the form disappear during writing
codes for dataset and data grid. The error show in "line of
assigning dataset". I don't know what's happen. If anyone
know , please share of technical help from someone. Thanks,
Horace Trever
Answer Posted / pavanreddy
first hold the table in clint mechine , if it is select
command use data adapter class other wise command class
ex DataAdapter da= new DataAdapter(" statement");
DataSet ds= new DataSet();
fill the data into dataset
da.fill(ds,"tablename");
now the table come to dataset assign the table to datagrid
dataGridView1.datasource=ds.Tables[0];
if you unable to see the design rightclick select gotodesign
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain async and await?
What are the different types of constructors?
What is the meaning of extention?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
Are arrays immutable c#?
Explain the difference between abstract class and interface.
What is the purpose of namespace in c#?
Explain About stateless and state full web service
What is difference between Enum and Struct?
Explain Direct CAST vs CType ?
Explain About disco and uddi
What is type safe in c#?
Explain About web methods and its various attributes
Why do we use static methods in c#?
Explain the difference between access specifier and access modifier in c#?