hello,
in a GridView column i need to display a string composed from a set of fields on my view model. how do i bind multiple fields to same column and how do i specify the format string to use for this column?
thanks for any help konstantin
hello,
in a GridView column i need to display a string composed from a set of fields on my view model. how do i bind multiple fields to same column and how do i specify the format string to use for this column?
thanks for any help konstantin
You could create a new property on your view model to bind to. For example, lets say you have two properties, FirstName & LastName. If you wanted to display the fullname in that column, you could create the new property to bind to, like this:
public string FullName { get { return FirstName + " " + LastName; } }