protected void SIC_DDL1(object sender, EventArgs e) { try { b = new BLPrevSoln(); string s = "select Qry_Text,Qry_Sol from tblqrydetails where Qry_Sol is not null and Qry_sol not like '' and deptcode='" + DropDownList1.SelectedItem.Text.Trim() + "'"; BindData(s); } catch (Exception ex) { throw new ArgumentException(ex.Message); } }
protected void Page_Load(object sender, EventArgs e) { b = new BLPrevSoln(); }