Way of updating a table other than stored procedure and
hard coded query?
Answer Posted / javed khan
The SqlDataAdapter enables us to fill a DataSet and Update changes back to the data base.We don't have to worry about opening and closing the SqlConnection, writing update command because the SqlDataAdapter does it automatically. A SqlCommandBuilder populates insert, update, and delete commands based on the SqlDataAdapter's select statement. Use the Fill method of the SqlDataAdapter to fill a DataSet with data. Call the SqlDataAdapter's Update method to push changes back to a data base.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why mvc is better than asp.net? : Asp.Net MVC
How to display validation messages in one control?
What is server side in asp.net?
Can I read the hard disk serial # of the client computer using asp.net?
Which is better viewstate or session?
What is the use of web.config and machine.config files?
Can we create a multiple user simultaneously ?
Define the term Web Garden?
What is web configuration file and how to use in web application
Where is asp.net session stored?
How do you design a website with multilingual support in ASP.NET ?
Explain the use of errorprovider control in .net?
Why would a company use an application service provider?
They mostly asked difference between versions of technologies
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.