lonechicken
Programmer
Is there an easy way using datagrid or something similar to display more than one field for a certain column?
Say in a database, there are separate firstname and lastname fields. But when I want to display it, I want them in one column listed as lastname, firstname (instead of separate columns).
Like:
Name
----
Doe, John
Instead of having to do:
Lastname Firstname
-------- ---------
Doe John
Am I just going to have to bite the bullet and come up with a more complicated SQL statement to "ready the data" for the datagrid?
Say in a database, there are separate firstname and lastname fields. But when I want to display it, I want them in one column listed as lastname, firstname (instead of separate columns).
Like:
Name
----
Doe, John
Instead of having to do:
Lastname Firstname
-------- ---------
Doe John
Am I just going to have to bite the bullet and come up with a more complicated SQL statement to "ready the data" for the datagrid?