J
JenHu
Hi all,
I have an error message: "Public member 'ExecuteNonqury' on type
'SqlCommand' not found."
on objComd.ExecuteNonqury().
Can someone point me out where did I do wrong? Thanks.
The code is like this:
-----------------------------------
Dim strSQL As String
strSQL = "UPDATE Epay_Transaction_Table SET EAcct_Num =' " &
sEfundNum & "' and Error_Code='" & sErrorCode & "' where
EmployID='" & sEmpID & "' and Batch_Num=' " & BatchNum
& "'"
Dim objComd = New SqlCommand(strSQL, EpayConnection)
EpayConnection.Open()
objComd.ExecuteNonqury()
EpayConnection.Close()
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
I have an error message: "Public member 'ExecuteNonqury' on type
'SqlCommand' not found."
on objComd.ExecuteNonqury().
Can someone point me out where did I do wrong? Thanks.
The code is like this:
-----------------------------------
Dim strSQL As String
strSQL = "UPDATE Epay_Transaction_Table SET EAcct_Num =' " &
sEfundNum & "' and Error_Code='" & sErrorCode & "' where
EmployID='" & sEmpID & "' and Batch_Num=' " & BatchNum
& "'"
Dim objComd = New SqlCommand(strSQL, EpayConnection)
EpayConnection.Open()
objComd.ExecuteNonqury()
EpayConnection.Close()
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*