Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How to insert more than multiple records (1500) in sql server using asp.net?

$
0
0

Hi,

We have a web-app where some check-boxes are used to select the number of records to be inserted. I am currently passing the records as xml string to back-end stored proc to insert the multiple records with a single db connection. Initially the expectation was around for 150 records max which the sql server VARCHAR string can accommodate in xml format. But for a particular record, the number of records have jumped to 1500. The sql server string will not be able to accommodate these many tags to insert multiple records. Is there any alternate way to do this?

Thanks,

Pulkit


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>