Hello
How to mention the header for the columns in grid, of our choice. I changed the Property Header, still it shows the same column names from the database to which it is bound.
Any help on this is much obliged.
Regards
Jeni
Another option would be to use the DisplayName attribute.
For example, let's say I'm displaying a List(of Users) in my ultragrid.
List(of Users)
Public Property FirstNamePublic Property LastNamePublic Property Email
But what if I want "First Name" and "Last Name" for my column names? Simply use the DisplayName attribute....
<DisplayName("First Name")>Public Property FirstName ...
Voila! :)