/// <summary> /// this method loads the data in the status combobox /// </summary> /// <param name="c">combox </param> private void BugStatusData(ComboBox c) { StatusCodes statusCodes = new StatusCodes(); List <StatusCode> stat = statusCodes.GetStatusCodeList(); //creating a list of applications by calling the GetApplicationList method stat.Insert(0, new StatusCode() { StatusCodeDescription = "<Select Status>"//adding new element in top of the app id }); c.DataSource = stat; c.DisplayMember = "StatusCodeDescription"; }