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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What's difference between constants and static readonly?

1261


What is difference between private, protected, and public in C#?

1099


What does dbml stand for?

1097


Explain the access modifiers in c#?

993


Is stringbuilder thread safe c#?

934


How do I start a program in c#?

1043


What is linq c#?

919


Why do we need serialization?

952


Is null in c#?

937


Does unity use c++ or c#?

955


What is an assembly qualified name? Is it a filename? How is it different?

995


What is parsing? How to parse a date time string?

1091


What does .length do in c#?

1003


Define a strong name in .net?

1039


What is the difference between int.parse and int.tryparse methods?

1097