I've been developing a user control called MultiGrid which is editable that
binds to Arraylists, arrays, datatables, DataSets, and DataViews. It is not
an upgraded DataGrid but written from scratch. It binds to arrays and
Arraylists of classes (including public properties and public variables) as
well as Structures. Unfortunately, when you updata an arraylist or array in
code, you have to call an update method to reflect the changes in the gird.
You can edit the gird cells and they will reflect changes in the datasource.
However, It does change values in datatables, etc. but does not update the
unerlying DataBase. The user has to do this by code.
I don't have the documentation done yet but would be glad to send you the
assembly.dll and an example of how to use it. The various properties and
Methods are available in the Intelligentsense. I'd be happy to have someone
give it a try and let me know what they think. My e-mail is
dh*****@houston.rr.com. E-mail me if you're interested.
"Rami" wrote:
Hey,
I Tried to bind a DataGrid to an ArrayList, and had 2 problems:
1. The DataGrid shows the Length property of the items instead of their
text - how can I change that?
2. After binding, I add new elements to the ArrayList but the DataGrid
doesnt refresh's it's view - I have to set the DataSource property of
the DataGrid to Nothing and then re bind it to the ArrayList! Isnt
there a "pretier" way?
Thanks ahead
--Rami