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 / 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 |
What is equal c#?
What is the importance of closing an ado.net application?
When Should You Call The Garbage Collector In .net?
What method is used to sort the elements of the array in descending order?
What is a nullreferenceexception and how do I fix it?
Why do we need static in c#?
What is overriding in c#?
Is null == null c#?
What are nullable types? Is Nullable<int> I and int ?i are same.
How to reduce image resolution in C#?
Is std :: string null terminated?
What?s an abstract class?
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)