Can this even be done with a databound control in .Net?
What I mean by data transformation, in case its a different syntax here, is when you take one value and display it as another value.
Say I have a table of Users. There is a data column called Status. Two of the more common statuses stored in this field are "A" and "I". So when I display this column, Im supposed to display Active (for "A") and Inactive (for "I").
This is relatively easy if I dont use databound controls. Im currently using a SQL Server 2005 database converted from another database (Progress) with SQL Server 2005 Developer Edition & Visual Studio 2005 Professional and Component One 2005 Suite.
In the other database language this datastructure came from, on each databound control, you could define that "A" becomes "Active" and "I" becomes "Inactive" in both directions (to/from the database).
My best guess (well it would work, but Id rather not do it) as of now, to keep things databound, would be to create another table called "Status" with the letter as the primary key and the descriptive word as another field, then query the data from both tables with a relationship bound on the letter.
Any help or leads on this would be greatly appreciated
What I mean by data transformation, in case its a different syntax here, is when you take one value and display it as another value.
Say I have a table of Users. There is a data column called Status. Two of the more common statuses stored in this field are "A" and "I". So when I display this column, Im supposed to display Active (for "A") and Inactive (for "I").
This is relatively easy if I dont use databound controls. Im currently using a SQL Server 2005 database converted from another database (Progress) with SQL Server 2005 Developer Edition & Visual Studio 2005 Professional and Component One 2005 Suite.
In the other database language this datastructure came from, on each databound control, you could define that "A" becomes "Active" and "I" becomes "Inactive" in both directions (to/from the database).
My best guess (well it would work, but Id rather not do it) as of now, to keep things databound, would be to create another table called "Status" with the letter as the primary key and the descriptive word as another field, then query the data from both tables with a relationship bound on the letter.
Any help or leads on this would be greatly appreciated