van  tive

van tive

  • NA
  • 2
  • 0

DataGridView and data binding

Mar 23 2007 4:34 PM

Usually the row in the DataGridView  is mapped into the object.
Example: row represents the customer object, columns in the grid are the customer's properties.

I need to present the data in the opposite way: I need to rotate the grid on 90 degrees.
The DataGridView column should represent the customer object and row should be the customer's property.

Then the new customer is added by the user then a new COLUMN ( not ROW !) should be created in the DataGridView.
I need to build my custom local datasource ( I am not using databases).

How to build the datasource in this case ?
How to make the binding to DataGridView?
How to implement the notification of the DataGridView then new customer added into the datasource?

Thanks!


Answers (1)