Exemplo n.º 1
0
 protected void txtSearchDrug_TextChanged(object sender, EventArgs e)
 {
     if (txtSearchDrug.Text != "")
     {
         gv_Drug.DataSource = dc.searchDrugData(txtSearchDrug.Text);
         gv_Drug.DataBind();
     }
     else
     {
         dataDrug();
     }
 }
Exemplo n.º 2
0
 protected void txtSearch_TextChanged(object sender, EventArgs e)
 {
     if (txtSearch.Text != "")
     {
         dgv_Drug.DataSource = controller.searchDrugData(txtSearch.Text);
         dgv_Drug.DataBind();
     }
     else
     {
         onRequestData();
     }
 }