private void LoadProjects() { try { cmdRestore.Enabled = false; string IncludeInactive = string.Empty; IncludeInactive = cActiveOnly.Checked ? "N" : "Y"; cbProject.Items.Clear(); using (DataStuff sn = new DataStuff()) { DataTable dt = sn.GetProjectBackupSets(IncludeInactive); if (dt.Rows.Count > 0) { cbProject.DataSource = dt; cbProject.DisplayMember = "ProjectName"; cbProject.ValueMember = "ProjectSetID"; } } } catch { throw; } }