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 |
Can we create instance for Abstract class?
28 Answers HCL, Satyam, SoftSol, Wipro,
What are the different generaions of Garbage Collection and how do they work
Why would you use a class property in c#?
2. What happened when BO object has been called?
Why objects are stored in heap in c#?
how can i display crystal report in button_click? am working with VS2005..........plz help me
What?s the top .NET class that everything is derived from?
what is a static constructor?
What is the difference between wrapper class and primitive?
What is the difference between webgarden and webfarm?
1)what is timestamp in C# (anilringole@gmail.com)
What is a Assembly?
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)