Hi,
I need to build a control that's based on the ListView control. I will be using this control multiple times on different pages to display information from different database tables, but in the same format and with the same functionality. So, for example, the DataSourceId and the field names that each data item map to will be different. It is also possible that certain fields will not be applicable for a particular type of data, and so I would need to hide those field(s).
I'm wondering how this is best implemented. Do I need to build a custom control (something I've never done before)? Should I just create a user control with different properties for each field name etc.? I'm looking for the best and/or most object-oriented solution and some resources that I could leverage when building my solution.
Thx.
I need to build a control that's based on the ListView control. I will be using this control multiple times on different pages to display information from different database tables, but in the same format and with the same functionality. So, for example, the DataSourceId and the field names that each data item map to will be different. It is also possible that certain fields will not be applicable for a particular type of data, and so I would need to hide those field(s).
I'm wondering how this is best implemented. Do I need to build a custom control (something I've never done before)? Should I just create a user control with different properties for each field name etc.? I'm looking for the best and/or most object-oriented solution and some resources that I could leverage when building my solution.
Thx.