Answer Posted / lalit pradhan
//Create new dataset :
DataSet ds = new DataSet();
//Store the dataset directly into view state
ViewState["dsn"]=ds;
//retrieve the dataset where it required
DataSet ds = (DataSet)ViewState["dsn"];
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How would you enable impersonation in the web.config file?
Why would anyone need to implement their own hashtable or linked list?
Is asp.net and .net are same or different?
What are themes and skins in 2.0, explain usage scenario?
Explain the flow of processing of the request? : asp.net mvc
Define the term Scavenging in Caching?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What are the page life cycle events?
What are the properties of the eventargs argument when capturing keyboard events?
What is difference between View State and Hidden Field in ASP.NET?
What is form method?
Can a master page have more than one contentplaceholder?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Where is http session stored?
Is viewstate secure?