protected void BindDropDownList() { Upload_doc bl = new Upload_doc(); Notice_Entry n = new Notice_Entry(); ReturnClass.ReturnBool rb = new ReturnClass.ReturnBool(); ReturnClass.ReturnDataTable dt = new ReturnClass.ReturnDataTable(); dt = dl.bindimage(); try { dt = dl.bindimage(); ddlimage.DataSource = dt.table; ddlimage.DataTextField = "name"; ddlimage.DataValueField = "value"; ddlimage.DataBind(); ddlimage.Items.Insert(0, new ListItem("Select", "0")); } catch { } }
protected void BindDropDownList() { //Upload_doc bl = new Upload_doc(); // Notice_Entry n = new Notice_Entry(); dl_rti_notice dl = new dl_rti_notice(); // ReturnClass.ReturnBool rb = new ReturnClass.ReturnBool(); ReturnClass.ReturnDataTable dt = new ReturnClass.ReturnDataTable(); // dt = dl.bindimage(); try { dt = dl.bindimage(); ddlimage.DataSource = dt.table; ddlimage.DataTextField = "name"; ddlimage.DataValueField = "value"; ddlimage.DataBind(); // ddlimage.Items.Insert(0, ""); ddl_district.Items.Insert(0, "Select"); } catch { } }