Data Grid can they include a combo box ?
Posted on 2006-04-08
I am using VB.Net 2005, i am a Beginner to moderate experience.
I have a question i'm not sure if its about data grids or not but is the only thing i can think.
Can a data grid include a combo box in some columns ? If so how - whats the code ?
What i am trying to do is read data from a CSV file, into a GUI for a user. I wanted the user to be shown the column headings from the CSV File and include a combo box underneath each column heading, so the user can select the data type for each column (similar to access import, wizard).
This will be used for several different CSV files so the amount of columns that will be included is un-determined and not fixed so needs to be done programmatically.
This is why i thought a data grid could be used because it has the scrolls bars would not matter how many columns there are as they can just move it to the left or right as needed. Also, although i have to admit i have never really used data grids i preume that it is easy to add another coulmn programmatically as needed ?
I am open to any other suggestions, though if there is anything better.