I am using vb .net 2003 and sql 2000,and I am trying to create a database using textboxes to name them and I keep getting syntax errors with this code.
Dim cmd As New SqlCommand(strSQL, cn)
Dim res As String
res = TB1.Text
Dim strSQL As String = _
Can anyone tell me what causes this to throw an exception:'System.ArgumentException`
Public Class Form1
#Region " Windows Form Designer generated code "
Public Sub New()
'This call is required by the Windows Form...