public void InitializeCombo() { ddlCostCentre.DataSource = hkManager.GetAllHouseKeeping(3); ddlCostCentre.DataTextField = "HKName"; ddlCostCentre.DataValueField = "HKID"; ddlCostCentre.DataBind(); ddlCostCentre.Items.Insert(0, new ListItem(String.Empty, String.Empty)); ddlCostCentre.SelectedIndex = 0; ddlBranchID.DataSource = hkManager.GetAllHouseKeeping(31); ddlBranchID.DataTextField = "HKName"; ddlBranchID.DataValueField = "HKID"; ddlBranchID.DataBind(); ddlBranchID.Items.Insert(0, new ListItem(String.Empty, String.Empty)); ddlBranchID.SelectedIndex = 0; ContactInfoManager cIM = new ContactInfoManager(); ddlEmployee.DataSource = cIM.GetAllEmployee(); ddlEmployee.DataTextField = "Name"; ddlEmployee.DataValueField = "ContactID"; ddlEmployee.DataBind(); ddlEmployee.Items.Insert(0, new ListItem(String.Empty, String.Empty)); ddlEmployee.SelectedIndex = 0; }