ADO.Net - how to get data from database and bind to the
controls -- write this small code
Answer Posted / kaarthikeyan
establish a connection and declare sqldataadapter,dataset
sda=new sqldataadapter("select the appropriate
table",connectionobj);
ds=new dataset();
sda.fill(ds);
gridview1.datasource=ds;
gridview1.databind();
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is asp.net and .net are same or different?
What is the purpose of asp.net?
Explain diff between dataset and datareader?
Explain about secure socket layer?
What is asp.net ajax?
How will you maintain versioning in asp.net 2.0?
What is data cache in sql server?
What is asp according to you?
What is difference between asp state management and asp.net state management?
Is viewstate secure?
How would you create a permanent cookie?
What is the function of new view engine in asp.net? : asp.net mvc
Can you explain composite pattern?
What is the purpose of master page?
What are sql joins?