void fillCountry() { DataSet ds = vendor.GetCountry(); lstCountry.Properties.DataSource = ds.Tables[0]; lstCountry.Properties.DisplayMember = "CountryName"; lstCountry.Properties.ValueMember = "CountryId"; lstCountry.Properties.NullText = ""; lstCountry.Properties.PopulateColumns(); lstCountry.Properties.Columns["CountryId"].Visible = false; lstCountry.Properties.ShowHeader = false; }