I'm sure this is simple, but for the life of me everything I search google with doesn't come up with anything windows forms related, and the ASP.NET stuff I find is crap, too.
I'm in C#.NET 2005, and I want to populate a dropdown list with a list of files in the same directory as the executalbe. I want the full path as the ddl value, and just the filename as the ddl text. So far I have this: [hopefully it's attached?]
This is just putting the whole path as the SelectedItem of the combobox.....how do I do it like I want it?
I'm in C#.NET 2005, and I want to populate a dropdown list with a list of files in the same directory as the executalbe. I want the full path as the ddl value, and just the filename as the ddl text. So far I have this: [hopefully it's attached?]
This is just putting the whole path as the SelectedItem of the combobox.....how do I do it like I want it?