Sign in to follow this  
vegi

[Visual C#] ComboBox in DataGridViews

Recommended Posts

vegi    100
Hi. Following Problem: I want to display data in a datagridview. I need 5 Columns. 4 with a Textbox one with a combobox. I have an array of objects. Each Object should be represented in a row(first column = id). But every object has an array of other objects within. These Objects have members which should be displayed in 3 of the 5 columns. The correct object should be selected with the combobox. Or in other words:
Point
{
   int id,X,Y,Z;
}
Polyline
{
    Point[] points;
};
Polyline[] lines;

Columns: id(of the line) | point(combobox to choose the pointnumber) | X | Y | Z Is it possible or should i choose an other(easyer) way to present my data ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this