ListBoundField and ResourceBoundField

Following my previous post on the ForeignKeyBoundField, here are some more templates for your GridView or DetailsView controls: ListBoundField and ResourceBoundField.

ListBoundField converts a value coming from a data source in a string, supplied in a list in the markup. ResourceBoundField translates a value by using a resource file, in a way identical to the one used by the <%$ Resource > expression builder.

Using these two templates, you can change the value displayed on the grid or details without any trouble.

If you like them, want to change them, or need an additional feature, drop me a line.

Bookmark and Share

                             

No Comments