Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Databind to a simple .net object (List/BindingList)
posted

Can someone please post an example of binding to a simple .net object?

I defined an object called Client with two properties, Id as an Int and Name as a string.

I populate a BindingList<Client> and set the DataSource property on the UltraGrid, nothing happens except all items are loaded but none are displayed.... I know this because the scrollbar indicates are a lot of rows but still nothing shows up in the grid, no columns or anything, completely blank.....

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Are the ID and Name on the Client object public properties? They have to be properties, they can't just be public members.

Children