con.Open(); SqlCommand cmd = new SqlCommand("insert into reg values('" + lbl_id.Text + "','" + lbl_dat.Text + "','" + txt_name.Text + "','" + txt_pwd.Text + "','" + txt_num.Text + "','" + txt_city.Text + "','" + txt_email.Text + "')", con); cmd.ExecuteNonQuery(); con.Close(); MsgBox.Show("registered successfully"); Response.Redirect("login.aspx");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)