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

What does session_start () do?

1047


Describe the events in the life cycle of a web application.

1043


What is Pre-Render event in ASP.NET?

1082


What is the function used for removing an event listener?

992


To redirect the user to another page which method do we use without performing a round trip to the client?

894


What is Web API Routing?

1121


Any disadvantages in Dataset and in reflection ?

3215


How can we identify that the page is post back in asp net?

912


How does a web application session work?

1038


Which protocol is used in a web api?

1062


What is inproc mode in session?

899


Why do we use sessions?

967


What does asp in asp.net stand for?

943


What is gridview in asp.net?

947


Define tracing.

1092