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

Explain async and await?

1829


What are the different types of constructors?

982


What is the meaning of extention?

964


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

2009


Are arrays immutable c#?

1032


Explain the difference between abstract class and interface.

1137


What is the purpose of namespace in c#?

853


Explain About stateless and state full web service

972


What is difference between Enum and Struct?

979


Explain Direct CAST vs CType ?

1025


Explain About disco and uddi

1115


What is type safe in c#?

869


Explain About web methods and its various attributes

958


Why do we use static methods in c#?

995


Explain the difference between access specifier and access modifier in c#?

963