I am trying to implement this
Console.WriteLine("Enter Name: ");
this.name = Console.ReadLine();
string sql1 = "insert into items values ( " + this.name ")";
DataAccess.ExecuteSQL(sql1);
when I try to input data through this it showing error about , unhanded exception , column name or number not found.
I am sure column name is ok and I gave it varchar(50) type. Is this method not permitted?
Thank you in advance.