Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42292

VS 2010 Update requires avalid update command when passed data row as collection of rows ?

$
0
0
I am getting an error mentioned in title when i modify all ready saved values and when i press save button the error occurs in this code
Code:

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Validate()
        Me.ItemsBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.ItemsDataSet)       


can any body please tell me how to solve the problem . i heard that by inserting sql command builder i can solve this problem but where to put that code.      :confused:

Attachment 94139
Attached Images
 

Viewing all articles
Browse latest Browse all 42292

Trending Articles



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