コード例 #1
0
 void home()
 {
     try
     {
         ClassDataManager v = new ClassDataManager();
         v.AddHomeRemedies(TextBox2.Text, double.Parse(Label6.Text), double.Parse(Label7.Text));
     }
     catch (Exception)
     {
         Response.Redirect("AddTreatMent.aspx?AdminID=" + double.Parse(Label7.Text) + "&IllnessCode=" + int.Parse(Label6.Text));
     }
 }
コード例 #2
0
 void home()
 {
     try
     {
         ClassDataManager v = new ClassDataManager();
         v.AddHomeRemedies(TextBox2.Text, double.Parse(Label6z.Text), double.Parse(lblAdminID.Text));
     }
     catch (Exception)
     {
         Response.Redirect("AddTreatMent.aspx?IllnessCode=" + int.Parse(Label6z.Text));
     }
 }