Monday, 3 September 2012

Records Affected






I was wondering today the best way to get the number of records affected by an update query in VB.NET

The answer is of cause

Dim recordsaffected  as Integer= MyCommandObject.ExecuteNonQuery()



Works a treat  thanks to all those other post out there found via Google the result was  found at

http://stackoverflow.com



No comments:

Post a Comment

Samsung Android Keyboard

  If you have a Samsung phone or pad and the keyboard is set to Google give the Samsung one a try. Just go into the keyboard settings and ...