Hi,
I created a table after adding .mdf file to my project. I wrote insert and update query and execute the queries but nothing happed. There is no data added to the table and there is no update action. I did not get any errors.
So please can anybody guide me how to insert and update to sql express using c#
The code I wrote is:
strSql=”update tbl set fldName=’AAA’”;
cmd=new sqlCommand(strSql, conn);
conn.Open();
cmd.ExecuteNonQuery();
conn.Close()