Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my vb.net project i have added the webreference,in webreference containing values, i have stored that values in dataset.using that dataset values,how can i upadate data in my database.please help me to do the code in vb.net
Posted
Updated 10-Mar-15 19:45pm
v2
Comments
dan!sh 9-Mar-15 3:48am    
This question is not clear. Can you post relevant code here showing what you are trying to do?
Member 11220730 9-Mar-15 4:59am    
Private Sub C2ImportButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles C2ImportButton1.Click
Dim Details As New StockImportWebReference.StckAccnt

Dim DetailsDS As New DataSet()

DetailsDS = Details.GetSTOCKMSTDetails()



End Sub
Member 11220730 9-Mar-15 5:00am    
in DetailsDS contaning the values. that values i want to insert in to my database table,if it already having that value,then i have to update it.

1 solution

All the techniques described at - How to: Save Dataset Changes to a Database[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900