SqlCommand cmd = new SqlCommand("Insert into ItemTable values ( @spicid,@stitle)",Conn); cmd.Parameters.AddWithValue("@spicid", spicid); cmd.Parameters.AddWithValue("@stitle", stitle); cmd.ExecuteNonQuery();
INSERT INTO ItemTable (ColumnName1, ColumnName2) VALUES (@spicid, @stitle)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)