nVarchar and SqlParameter
I'm developing an application which must support several languages. To solve the special characters problem I'm using NVarhcar for my text fields. So my SQL query for a text field is insert into tbl_text(text)values(N'Chci tančit v oblasti') My problem is to put it in SqlCommand, wich is "insert into tbl_text(text)values(N@text)" . It saves "N@text" in the DB table, sure. Do you guys know someway to do it? I'm using C# and SQL 2008. Sorry if it was hard to understand my question. My English is poor =/ Add(string, object) has been deprecated for this reason (from Pablo Castro of the SQL Server