Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jadi
Starting Member
20 Posts |
Posted - 2009-02-20 : 09:12:27
|
Hi can you help me by figureing out what is wrong?Using comd As New SqlCommand("UPDATE [dbo].[LINES] SET LINE_FLAG='CLOSED'WHERE NOTE = @NOTE1 AND LINES = @LINES1 AND LOT = @LOT1", conn) comd.Parameters.AddWithValue("@NOTE1", rowItem("NOTE")) comd.Parameters.AddWithValue("@LINES1", rowItem("LINES")) comd.Parameters.AddWithValue("@LOT1", rowItem("LOT")) Try comd.ExecuteNonQuery() Catch ex As Exception MsgBox("Update failed", MsgBoxStyle.Critical) End Try |
|
jadi
Starting Member
20 Posts |
Posted - 2009-02-20 : 09:14:09
|
I get the error msgbox = nomber of records in db table LINES. |
|
|
|
|
|