protected void rsubmit_Click(object sender, EventArgs e) { li.state_id = Convert.ToInt16(dstate.SelectedValue); li.fname = fname.Text; li.lname = lname.Text; li.email = email.Text; li.uname = uname.Text; li.pass = password.Text; li.address = address.Text; li.dcity = dcity.SelectedItem.Text; li.mob_no = mob_no.Text; li.pc = Convert.ToInt32(pc.Text); li.Reg_User(li); Response.Redirect("signin.aspx"); }