Here is my sample code.It doesn't work in ADO.NET.
Any workaround for this?
SqlCommand cmd = new SqlCommand("Insert into EMP (EMPNAME,EMPPOSITION) VALUES(?,?)",con);
cmd.Parameters.Add("empName",SqlDbType.NVarChar,64 ).Value = "hello";
cmd.Parameters.Add("Position",SqlDbType.NVarChar,6 4).Value = "world";
Aldwin Enriquez
"Dont you ever give up!"
|