Ejemplo n.º 1
0
 protected void btnQuery_Click(object sender, EventArgs e)
 {
     if (this.txtAreaName.Text.ToString().Trim() == "")
     {
         stockDt = stockBll.RealTimeStock();
     }
     else
     {
         filter  = "AREANAME like '" + this.txtAreaName.Text.ToString().Trim() + "%'";
         stockDt = stockBll.Query(filter);
     }
     GetDataBind(stockDt);
 }