JohnnyLong
Programmer
I've searched everywhere for the answer but to no avail. I have a SQL Insert class which accepts sql parameters as for example SqlDbType.NVarChar. I create a new instance of this class in my project but when I try oInsert.Name = txtName.Text i get the error "Value of type String cannot be converted to System.Data.SqlTypes.SqlString". I've Imported the SqlTypes namespace. How do I convert the string to SqlType or am I missing something crucial?
John.
John.