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
What is difference between or and orelse?
What is round trip in asp.net?
What is the significance of finalize method in .net?
What are the advantages of using session?
What are the session management techniques asp net?
What does it mean your session has timed out?
What is distributed system in asp.net?
Is sql backend or frontend?
What is synchronous and Asynchronous post back ?
Less than one page, how many windows will you be able to maintain?
They mostly asked difference between versions of technologies
What are session cookies?
What is csrf attack in asp.net?
Explain MVC model binders?
Is LINQ performance wise better or using sqlcommand?