Author: fralo | Posted on: 1/23/2009 8:39:14 AM | Views : 287

A noob question from the Noobmaster on planet Noob.  Heh.

How to display a message box in the following code?
mycheck = New SqlCommand("SELECT count(*) FROM ARREST_INDEX WHERE ARRESTNO = '" & arrest_num & "'", ESOConnection)
mycheck.CommandType = CommandType.Text

myresult = mycheck.ExecuteScalar()

If myresult > 0 Then
MsgBox("Record already exists")
End If
It no like Msgbox!  I get an error.
...

Go to the complete details ...