private void PopulateDrivesInDropdown() { cmbDrives.DataSource = LocalDrives.Drives(); cmbDrives.DisplayMember = "Description"; cmbDrives.ValueMember = "DriveName"; }
// // GET: /Home/ public ActionResult Index() { LocalDrives drives = new LocalDrives(); return(View(drives)); }