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?s the difference between an interface and abstract class?

2 Answers   Patni,


Which program construct must return a value?

0 Answers   3i Infotech,


Explain how to add controls dynamically to the form using c#.net.

0 Answers  


What is default value of enum c#?

0 Answers  


Write the sample code for threading in c# .net..

4 Answers   Logica CMG,


Can constructor be protected in c#?

0 Answers  


How do you specify a custom attribute for the entire assembly (rather than for a class)?

0 Answers  


What are most desktop applications written in?

0 Answers  


Is an array an object c#?

0 Answers  


What is meant by clr?

0 Answers  


What are the properties of c#?

0 Answers  


Explain how to use an extender provider in the project.

0 Answers  


Categories