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...

How to store a dataset in a viewstate?

Answer Posted / kundal singh

DatasetAdapter sda = new DatasetAdapter("select * from
tablename");

Dataset ds = new Dataset();
sds.fill(ds);

ds.Tables[0].TableName = "tablename";
sda.Fill(ds, "tablename");
sda.Fill(StartIndex, Numbers, ds.Tables)
sda.Fill(0, 25, dt);
sda.Fill(25, 200, ds.Tables["tablename"]);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between dataset and recordset?

981


What are the advantages of using Master Pages?

980


Using code explain Configuration Management

1897


What are Session states available and its Uses?

2168


What is diff. Between abstract class and an interface?

978


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

1067


What are the differences between application object and session object?

955


what is command line compiler.what are the steps and how it is related to debugging.

1831


What are the components of ado.net?

909


Explain what are webservices?

926


What is the difference between mechine.config and web.config?

1180


How do u declare static variable and how it is declared and what is its lifetime?

977


What are the Types of state management techniques

981


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

2376


What is autopost?

930