TableAdapter.Update("new column values", "original column values")
Hello everey1
How can I use this format of update method in ado.net 2. I have some problems with the original column values. I have defined two columns : 1. id (as integer) /2. desc(as string)/ but in runtime this method make an error that Update method can not convert the id column to string. My update code is as bellow:
Me.myTableAdapter.Update(Val(Me.txtID.Text), Me.txtDesc.Text, "ID", "Desc")
I already have read the http://msdn2.microsoft.com/en-us/library/ms233819(VS.80).aspx
Can u F1 me?!!!!
Hello everey1
How can I use this format of update method in ado.net 2. I have some problems with the original column values. I have defined two columns : 1. id (as integer) /2. desc(as string)/ but in runtime this method make an error that Update method can not convert the id column to string. My update code is as bellow:
Me.myTableAdapter.Update(Val(Me.txtID.Text), Me.txtDesc.Text, "ID", "Desc")
I already have read the http://msdn2.microsoft.com/en-us/library/ms233819(VS.80).aspx
Can u F1 me?!!!!