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
9. Why should we hire you over the others waiting to be interviewed?
What is web router?
What is semantic gap?
What is windows active directory authentication?
What is the best Macanism to clear the Cache in asp.net
Give a few examples of page life cycle events.
What is data cache in sql server?
How can you apply a theme to your asp.net application?
Explain file-based dependency and key-based dependency.
What are asp.net web forms?
What asp.net control can embed xaml into asp.net pages?
What are the advantages of asp.net?
Explain the difference between server control and html control.
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
How many web.config files can I have in an application?