S
Sam
I want to perform SQL Update via ADO.Net but encounter error message.
Coding
-------
Dim okcon As New
SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))
Dim updatecmd As New SqlCommand()
updatecmd.CommandText = "Update F0902 Set amount = gbawtd"
updatecmd.Connection = okcon
okcon.Execute()
Please guide me the correct method of ADO.Net SQL Update based above coding.
Thanks.
Coding
-------
Dim okcon As New
SqlConnection(ConfigurationSettings.AppSettings("ConnectionString"))
Dim updatecmd As New SqlCommand()
updatecmd.CommandText = "Update F0902 Set amount = gbawtd"
updatecmd.Connection = okcon
okcon.Execute()
Please guide me the correct method of ADO.Net SQL Update based above coding.
Thanks.