I know that I need to use template columns, but I don’t understand how to use it.
I have a data source that returns a collection, I can assign each property in the collection to a column.
But like me:
- Merge two columns? for example
col.prop1 +' '+ col.prop2? - Follow some methods for properties such as
col.prop1.ToString(overloaded)
A simple codebehind example will help. All I can find are very complex controls and stuff for examples.
Thank.
source
share