The P tag is recurring and it can be up to 3 lakhs of records.
I am creating the xml from two listbox values. The value of pid comes from one listbox and value of sid comes from another listbox. The actual thing here doing is mapping the items in both database together.
Take the first value of first list box and map to all the values in second listbox, then take 2nd value and map to all values in second listbox and so on..
But even the xml creation itself is take too much of time, when both listbox contains 500 items each.
Is there any way i can achive this.
I was planning to check SqlBulkCopyin ADO.Net. But here one issue is some records which we are tyring to insert will already be in the database table and inserting them again will show Primary key error.
I am not sure how the sqlBulkcopy will behave is such error occures while inserting.
Can anyone please help me
It looks like you're new here. If you want to get involved, click one of these buttons!