datagrid uses without databind? (am i nuts?)
-
hi, i got an app that uses 3-tier model. i transfer data between the model with ArrayList of Emp (contains name, id etc). now, i want to display the data in datagrid, but i cant do DataBind bcuz my data is in ArrayList, not DataSet. how can i create the datagrid myself without DataBinding? is there other alternative for me? Avi.
-
hi, i got an app that uses 3-tier model. i transfer data between the model with ArrayList of Emp (contains name, id etc). now, i want to display the data in datagrid, but i cant do DataBind bcuz my data is in ArrayList, not DataSet. how can i create the datagrid myself without DataBinding? is there other alternative for me? Avi.
Hi, You can very well set arraylist as a datasource to the datagrid. Thanks & Regards, Gerald Leslie
-
Hi, You can very well set arraylist as a datasource to the datagrid. Thanks & Regards, Gerald Leslie
even if it's ArrayList of that contain objects (classes made by me)?
-
hi, i got an app that uses 3-tier model. i transfer data between the model with ArrayList of Emp (contains name, id etc). now, i want to display the data in datagrid, but i cant do DataBind bcuz my data is in ArrayList, not DataSet. how can i create the datagrid myself without DataBinding? is there other alternative for me? Avi.
i hope u can bind an array list directly to the datagrid not sure because arraylist implements the ienumerable and ilistsouorce hence i think u can else createa datatable and fill the data from the array list by looping it to the datatable this you can do and this will work!! try! Loving Code, R. Senthil Kumaran