protected void Button1_Click(object sender, EventArgs e)
 {
     string doctorName = TextBox1.Text;
     SearchDoctorBL objSearchDoctorBL = new SearchDoctorBL();
     ds = objSearchDoctorBL.SearchDoctor(doctorName);
     if(ds.Tables[0].Rows.Count == 0)
         Label1.Visible = true;
     else
     {
         Label1.Visible = false;
         GridView1.DataSource = ds;
         GridView1.DataBind();
     }
 }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string         doctorName        = TextBox1.Text;
        SearchDoctorBL objSearchDoctorBL = new SearchDoctorBL();

        ds = objSearchDoctorBL.SearchDoctor(doctorName);
        if (ds.Tables[0].Rows.Count == 0)
        {
            Label1.Visible = true;
        }
        else
        {
            Label1.Visible       = false;
            GridView1.DataSource = ds;
            GridView1.DataBind();
        }
    }