public void fillcash() { try { DataSet ds_state = new DataSet(); ds_state = dl.select_cash_ladger(bl); DropDownList1.DataSource = ds_state; DropDownList1.DataTextField = "ld_nm"; DropDownList1.DataValueField = "ld_id"; DropDownList1.DataBind(); } catch (Exception ex) { } }