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
What's difference between constants and static readonly?
What is difference between private, protected, and public in C#?
What does dbml stand for?
Explain the access modifiers in c#?
Is stringbuilder thread safe c#?
How do I start a program in c#?
What is linq c#?
Why do we need serialization?
Is null in c#?
Does unity use c++ or c#?
What is an assembly qualified name? Is it a filename? How is it different?
What is parsing? How to parse a date time string?
What does .length do in c#?
Define a strong name in .net?
What is the difference between int.parse and int.tryparse methods?