Differences between DataGrid, FlexGrid and ListView
I am still confuse on when to use DataGrid, FlexGrid or ListView. Can anyone please guide me when to use any of these controls and what are the advantages or disadvantages? I would also appreciate if you all can suggest me a better control to display or populate data.
Re: Differences between DataGrid, FlexGrid and ListView
In my opinion you should NEVER use the DataGrid as that is a bound control, and bound controls should be avoided more strenuously than my mother in-laws meatloaf.
When you use a FlexGrid as opposed to a ListView is up to you. That is a matter of preference.
My is the ListView. For others it is the FlexGrid. There is no real hard and fast rules. It pretty much up to you and what you feel more comfortable using.
Re: Differences between DataGrid, FlexGrid and ListView
Thanx Hack for such a good info.
By the way do u or anyone has any tutorial or info on how to use ListView or FlexGrid? I have found a few thread that explains on the usage of FlexGrid but none so far for ListView.
Thank you in advance on any replies, I appreciate it very much.
Re: Differences between DataGrid, FlexGrid and ListView
If you want to load data from a database.. for a FlexGrid see the link in my signature, and for a ListView see the article How can I fill a ListView with values in a database? from our Database Development FAQs/Tutorials (at the top of the Database Development forum)
Other code for working with a FlexGrid can be found in this thread