i also search but there is always separate table of image, and i want image in register table
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(conString);
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "SP_INSERT_reg";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@Reg_id", HF_Reg_Id.Value);
cmd.Parameters.Add("@Fname", Fname.Text);
cmd.Parameters.Add("@Address ", Address .Text);
cmd.Parameters.Add("@Mobile ", Mobile .Text);
cmd.Parameters.Add("@Password ", Password .Text);
cmd.Parameters.Add("@Image ", Image .____; );
cmd.Connection = con;
con.Open();
string result = cmd.ExecuteNonQuery().ToString();
con.Close();