3
Reply

Get LogicalDrive

Vaxo Nozadze

Vaxo Nozadze

Jun 28 2008 12:08 PM
2.9k
Hello, i want to get logical drive in ComboBox
i have this code
[CODE]
     DriveInfo[] Drive = DriveInfo.GetDrives();
            foreach (DriveInfo LogicalDrive in Drive)
            {

                comboBox1.Items.Add(LogicalDrive);

                switch (comboBox1.Items)
                {
               
                }
            }
[/CODE]
but i do not know what must bee in switch
switch (?)
thanks beforehand :)

Answers (3)