c# - BindingList and column flexibility -
Everyone knows about the binding list instead of DataTable
You people have the problem of column flexibility How to remove it? I need to define and implement T objects for the binding list. If a new column is required to be added, then I have to add new properties for T objects .... while in datatale it is very easy.
Binding List T & gt; Samples = new binding list & lt; T & gt; ();
Is there something that you live with or what is a relatively easy way to overcome it?
Using C # 2.0, Compact Structure
It is being said that there are also inconsistencies with it.
A small comparison of the advantages and disadvantages for each.
My personal rule of thumb Baiding list
Datagram still useful If you are bound for something unknown, and are trying to parsing at the runtime.
Comments
Post a Comment