Hello Richard,
Unless I'm missing something else here (or my VB.NET syntax is rustier than I remember <g>), I think you want to change your UPDATE statement to:
oledbDA.UpdateCommand.CommandText = _
"UPDATE Contacts SET Company = '" & _
MyCompany & "' WHERE Unique_ID = " & _
MyContacts_Unique_ID.ToString()
Hope that makes sense,
---J
>I am still way too new at this...
>I have a Web Form and I'm trying to save my edits, trying to update the table my dataset is based on... An access table on my web directory.
>
>I am able to navigate the table but when I try to UPDATE the data it doesn't work.
>My TRY/CATCH is catching an exception.
>
How do I find out what the exception is?>
>I believe the line at fault is:
>
oledbDA.UpdateCommand.CommandText =
>"UPDATE Contacts SET Company= MyCompany WHERE Unique_ID = MyContacts_Unique_ID"
>
>
<snip>
>TIA,
>Rick