protected void Submit_Click(object sender, EventArgs e) { Projector_TVBL ptbl = new Projector_TVBL(Convert.ToInt64(txtSr_no.Text), txtModel_no.Text, Convert.ToInt64(txtAsset_no.Text), Convert.ToInt64(txtSerial_no.Text), txtWarranty.Text, Convert.ToInt16(txtFloor.Text)); ptbl.Insert(); Response.Redirect("InventAdmin.aspx"); }