Lost universe of Programing

USERNAME :- Guest Forum Post:-114
 
HomePortalGalleryRegisterLog in

Share | 
 

 To update the record

Go down 
AuthorMessage
Administrator
Admin
Admin
avatar

Male
Number of posts : 160
Age : 32
Location : Lucknow
Job/hobbies : Software Engeener
What U like To do ? : Because Its Rock with me.
Registration date : 2008-01-06

PostSubject: To update the record   1/22/2008, 1:08 am

1. Connection is describe in data base connectivity new topic
Quote :
Set AdoCmd = New ADODB.Command
Dim StrSQL As String
StrSQL = "Update product set p_name = '" & Text3.Text & "',price = '" & Text4.Text & "',no_of_units = '" & Text5.Text & "' Where p_code ='" & Text1.Text & "'"
AdoCmd.ActiveConnection = adocon
AdoCmd.CommandText = StrSQL
AdoCmd.CommandType = adCmdText
AdoCmd.Execute

_________________

""-(`v)-"HACKER OF HEART"-(`v)-"

Back to top Go down
View user profile http://aspx.forumotion.com
 
To update the record
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Lost universe of Programing :: --=| SOURCE CODE |=-- :: C/C++ SOURCE CODE-
Jump to: