|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Updating database
hello...im writing a program in VB.. im trying to update a record in one of the tables in my database but instead of updating it is inserting....what can the problem be?? thanks
|
|
#2
|
||||
|
||||
|
Your sql statement should look like the following:
Code:
Update YourTable SET YourField=Somevalue WHERE YourRecordId=YourValueForTheRecordToUpdate
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Updating database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|