Hi,
I want to create a table in my database, and also create a field in it named "Names" which is text, and also set a primary key named ID.
So I use this string connection:
"CREATE TABLE " + TableTextBoxX.Text + " (ID INT PRIMARY KEY, Names Text(255))"
But I get syntax error!
I played around with that but could not find how it should be correct!
Please help me
I want to create a table in my database, and also create a field in it named "Names" which is text, and also set a primary key named ID.
So I use this string connection:
"CREATE TABLE " + TableTextBoxX.Text + " (ID INT PRIMARY KEY, Names Text(255))"
But I get syntax error!
I played around with that but could not find how it should be correct!
Please help me