protected void searchPatient()
    {
        string patientName = TextBox1.Text;
        Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();

        ds = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
    }
 protected void Button3_Click(object sender, EventArgs e)
 {
     ModalPopupExtender1.Show();
     string patientName = TextBox17.Text;
     Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();
     GridView1.DataSource = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
     GridView1.DataBind();
 }
예제 #3
0
    protected void Button3_Click(object sender, EventArgs e)
    {
        ModalPopupExtender1.Show();
        string patientName = TextBox17.Text;
        Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();

        GridView1.DataSource = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
        GridView1.DataBind();
    }
 protected void Button1_Click(object sender, EventArgs e)
 {
     string patientName = TextBox1.Text;
     Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();
     ds = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
     if(ds.Tables[0].Rows.Count == 0)
     {
         Label1.Visible = true;
         GridView1.DataSource = null;
         GridView1.DataBind();
     }
     else
     {
         Label1.Visible = false;
         GridView1.DataSource = ds;
         GridView1.DataBind();
     }
 }
예제 #5
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        string patientName = TextBox1.Text;
        Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();

        ds = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
        if (ds.Tables[0].Rows.Count == 0)
        {
            Label1.Visible       = true;
            GridView1.DataSource = null;
            GridView1.DataBind();
        }
        else
        {
            Label1.Visible       = false;
            GridView1.DataSource = ds;
            GridView1.DataBind();
        }
    }
 protected void searchPatient()
 {
     string patientName = TextBox1.Text;
     Receptionist_SearchIPDPatientBL objSearchPatientBL = new Receptionist_SearchIPDPatientBL();
     ds = objSearchPatientBL.Receptionist_SearchIPDPatient(patientName);
 }