|
-
Dec 11th, 2012, 09:29 PM
#3
Thread Starter
Junior Member
Re: Update requires avalid update command when passed data row as collection of rows
i Tried by putting primary key but no use. and i made changes in code see below"get changes" then also no use. please sir could you give me code for sql command builder but inserting i think i can solve my problem i dont where to put even that sql command builder code.
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Validate()
Me.MenuBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.MenuDataSet.GetChanges)
End Sub
please sir give me necessary i also ticked refresh box in data set>configure properties but whenever i come back the tick is not selected.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|