Jump to content
  • Advertisement
Sign in to follow this  
vegi

[Visual C#] ComboBox in DataGridViews

This topic is 3312 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!