Way of updating a table other than stored procedure and
hard coded query?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / raviraj
Try with transactions whose code is terse and comprehensive.
transactions offer the best alternative solutions for
updating the table content.You can either commit or
rollback the transcation by using T-sql update cpmmand in
the explicit transcation based on the where condition.
Is This Answer Correct ? | 1 Yes | 1 No |
What type of code (server or client) is found in a Code- Behind class?
How to implement caching?
Where can i get Latest Microsoft .Net Certification Dumps & what Types of .Net Certifications are there?
In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
How to stop the inheritance?
what is strong name?
4 Answers Fidelity, Infosys, Microsoft, Shriram Value Services,
how we declare interface
What is the concept of view state in asp.net?
What are server side controls?
Explain the difference between debug.write and trace.write? When should each be used?