I''d like convert from an xml file to a collection of objects, where each object is bound to row in the grid. I''m thinking of using Xml serialization to objects to create the collection (unless anyone can suggest a better alternative), but I don''t know how to map (1-to-1) each object in this collection to a row.
Ideally, every time I make a change to a cell value in row R, I''d like the object corresponding to row R to have the corresponding member''s value changed; similarly for adding and deleting rows.
ADAdministrator Syncfusion Team June 23, 2004 03:42 PM
If your objects have public properties, you can just add the objects into an arraylist, and then set the ArrayList to be the DataSource in a GridDataBoundGrid. This should display your object''s public properties as columns in the grid.