Way of updating a table other than stored procedure and
hard coded query?
Answer Posted / 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 |
Post New Answer View All Answers
How will you load dynamic assembly?
What are the differences between application object and session object?
Explain what the contents of cookie?
Differentiate between client-side and server-side validations in web pages.
Explain what is clr?
How can you make sure that web api returns json data only?
Where you store Connection string in "Web.Config" file in ASP.NET?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Which two new properties are added in asp.net 4.0 page class?
What is active web page?
What websites use asp.net?
What is the use of the tag in the web.config file?
In which situation can you not use a viewstate?
What are the new login controls in asp.net 2.0?
What is the web.config file in asp?