private void LoadItemCategory() { try { List <ATTInvItemsCategory> lstItemCategory = BLLInvItemsCategory.GetItemCategory(null, "Y", "Y", true); Session["Item_ItemCategory"] = lstItemCategory; this.DDLItemCategory_Rqd.DataSource = lstItemCategory; this.DDLItemCategory_Rqd.DataTextField = "ItemsCategoryName"; this.DDLItemCategory_Rqd.DataValueField = "ItemsCategoryID"; this.DDLItemCategory_Rqd.DataBind(); } catch (Exception ex) { this.lblStatus.Text = ex.Message; } }