How will you update multiple records in a single shot?
From an ASP.net appli to SQL Serevr

Answer Posted / mithun

Create a data table. add mulitple records to it. pass it as datatable to stored procedure.

in DAO, pass datatable as single parameter of type SqlType.Structured.

in SQL, create a user defined datatype of table with same structure u pass from web. select the column values from table datatype an insert into table.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle multiple async ajax requests?

528


What is the difference between synchronous postback and asynchronous postback? : asp.net ajax

672


Are there any frameworks available to help speedup development with ajax?

528


Will html_ajax integrate with other javascript ajax libraries such as scriptaculous?

528


Is json is a programming language?

522






Is it compulsory to have script manager on the page when you are using any control of ajax control tool kit?

539


Cannot parse xml generated by jsp I am generating an xml using jsp, when I run the jsp in ie it shows the xml as per dom, but when I try to parse it using javascript , the command xmldoc.documentelement ?

510


Which request is better with ajax, get or post?

506


Does ajax have significant accessibility or browser compatibility limitations? Do ajax applications break the back button? Is ajax compatible with rest? Are there security considerations with ajax dev

534


How does an ajax call work?

556


What is the role of scriptmanager in ajax?

515


Describe the accordionextender control?

539


How do we get the xmlhttprequest object in ajax?

529


What is the importance of client-side libraries? : asp.net ajax

565


What javascript libraries and frameworks are available?

616