The below code doesn't give me the last record count.
Feedback very appreciated. Thanks for all that you do.
qstring = "SELECT COUNT(*) FROM CustomerInforma tion "
Dim newSql As New SqlConnection(c onnectionstr)
newSql.Open()
Dim catCMD As SqlCommand = newSql.CreateCo mmand()
catCMD.CommandT ext = qstring
Dim intRecordsAffec ted = catCMD.ExecuteN onQuery()
newSql.Close()
Comment