OP Wrote:can we use like .... insert into table1() values () where userid=session[userid]
UPDATE Table Set ColumnName=@ColumnData,ColumnName=@ColumnData2.... where userid=Session[userid]
strQuery = "insert into tablename(userID, userName)values(@userID, @userName)"; cmd = new SqlCommand(strQuery); cmd.Parameters.AddWithValue("@userID", Session["userid"]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)