cmd.CommandType = CommandType.Text; string str = "Select ID from Team_Registration where UserName= '" + Session["New"] + "'"; int N = Convert.ToInt32(str); cmd.Parameters.AddWithValue("@Name", txtName.Text.ToString()); cmd.Parameters.AddWithValue("@Mobile", txtMobile.Text.ToString()); cmd.Parameters.AddWithValue("@Address", txtAddress.Text.ToString()); cmd.Parameters.AddWithValue("@UserId", N); cmd.ExecuteNonQuery();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)