trying since 2 days(updating a row from form to backend)

srivalli

Well-known member
Joined
May 4, 2005
Messages
189
Programming Experience
Beginner
hello,

i am writing the code for updating a particular row by passing the values in the prg and my code is working well and fine
and my code is:


Try
ss = "Update bankdet1 Set bankname1='ssss',bankacc1=1111 Where facode1=222"

cmd =
New SqlCommand(ss, cn)

cn.Open()

cmd.ExecuteNonQuery()

cn.Close()

MsgBox("record updated")

Catch x As Exception

MsgBox(x.Message)

End Try


now what i am trying is i want to update the values at runtime
that is

first i ll retrieve the values of a particular row in the form and then try to change the values of that row at runtime

thanks
 
Back
Top