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 = _
"IF...
It was copied from the ide but the code is right in the editor.
I don`t know what happened to it here.
The full msg is:An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: Invalid parameter used.
When I step into the debugger I...
Can anyone tell me what causes this to throw an exception:'System.ArgumentException`
Imports System.Drawing
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.