المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ListView



C# Programming
05-18-2011, 10:21 AM
I never really needed to so, I have never actually used a ListView in my professional life. Now I have a legacy control (legacy developer is still here) that uses a ListView control to allow users to easily select/deselect multiple rows using the checkbox feature. I am not required to add 2-3 additional, editable columns, one of which was requested to be a combobox or checkbox, the other an editable text cell. The ListView is not bound to data from a database, rows are added dynamically.

My question is, do you guys think it's worth it to keep it a ListView, or should I break legacy and use a DataGrid? It seems that adding these columns to do what I want will be easier in the control I'm more familiar with, but it is possible with both.
Craigslist Troll: litaly@comcast.net

"I have a theory that the truth is never told during the nine-to-five hours. "
— Hunter S. Thompson