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 are the types of session in asp.net?
Are cookies client side or server side?
What is difference between rest and soap?
Explain the server control events of asp.net ?
Describe the difference between inline and code behind - which is best in a?
What are the advantages and limitations of query string?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
Explain what are delegates?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
How do you create a master page?
Explain the difference between array and linkedlist?
Which is the parent class of the web server control?
How to retrieve user name in case of Window Authentication?
What is form submit?