Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Hi Everyone, the design of the form disappear during writing codes for dataset and data grid. The e..

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

Post New Answer

More C Sharp Interview Questions

What is equal c#?

0 Answers  


What is the importance of closing an ado.net application?

0 Answers  


When Should You Call The Garbage Collector In .net?

0 Answers   Siebel Systems,


What method is used to sort the elements of the array in descending order?

0 Answers   Siebel,


What is a nullreferenceexception and how do I fix it?

0 Answers  


Why do we need static in c#?

0 Answers  


What is overriding in c#?

0 Answers  


Is null == null c#?

0 Answers  


What are nullable types? Is Nullable<int> I and int ?i are same.

2 Answers   TCS,


How to reduce image resolution in C#?

0 Answers   IBM,


Is std :: string null terminated?

0 Answers  


What?s an abstract class?

4 Answers   NIIT,


Categories