need some assistance

G

Guest

Hi,
I need to pass back multiple selection from an asp.net app datagrid and
update a table. How should I handle this? I get the values by looping he
datagrid, but, do I execute the update stored procedure on every iteration?
Or is there a way to pass all the selection at once to the sp?

Thanks
 
G

Guest

Hi,
if you dont want to fire update query for each and every row then you can
implement bulk insert/update by using OPENXML.You will get complete working
code for it in the followinf link:
http://www.codeproject.com/cs/database/generic_OpenXml.asp

Although it is for bulk insert you can write code for bulk update also by
digging little bit.If you are still not able to get around then please feel
free to ask me.

Thanks and regards,
Manish Bafna
MCP and MCTS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top