View Single Post
  #4 (permalink)  
Old June 3rd, 2011, 07:43 AM
Vayne Vayne is offline
Registered User
 
Join Date: Jun 2011
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by om_prakash View Post
Try this:
Code:
If objReader2.HasRows Then
    Do While objReader2.Read()
 strSQL3 = "UPDATE tbl_civil_works SET codeno = " & record_counter
 ExecuteStatement(strSQL3) 
 record_counter = record_counter + 1
    Loop
Else
    Console.WriteLine("No rows found.")
End If
Still the same error message.
Reply With Quote