0
00eric claption
In the sourcecode as following,
Dim cmd As New SqlCommand()
With cmd
.CommandText = "Delete from Authors where au_lname = 'Smith'"
.Connection = cn
.CommandType = CommandType.Text
End With
Please tell me what does ".CommandType = CommandType.Text " this do.
Thanks.
Dim cmd As New SqlCommand()
With cmd
.CommandText = "Delete from Authors where au_lname = 'Smith'"
.Connection = cn
.CommandType = CommandType.Text
End With
Please tell me what does ".CommandType = CommandType.Text " this do.
Thanks.