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?s the difference between an interface and abstract class?
Which program construct must return a value?
Explain how to add controls dynamically to the form using c#.net.
What is default value of enum c#?
Write the sample code for threading in c# .net..
Can constructor be protected in c#?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
What are most desktop applications written in?
Is an array an object c#?
What is meant by clr?
What are the properties of c#?
Explain how to use an extender provider in the project.
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)