View Single Post
  #2 (permalink)  
Old 01-14-2009, 6:59 PM
Stonkie Stonkie is offline
VB.NET Forum Master
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Sep 2007
Age: 22
Posts: 279
Reputation: 80
Stonkie probably authored a book by nowStonkie probably authored a book by nowStonkie probably authored a book by now
Default

You can modify your SQL SELECT statement like this :

Code:
SELECT Id, Name, ISNULL(Descript, descriptionType) AS Description
I you need the user to save this data though, you may have to keep two separate data models. A better idea might be to modify the data as it is displayed, but I do not have enough experience with Web Forms to help you out on this.
__________________
The human mind's capability to comprehend abstract concepts is limited to the vocabulary it can use to describe it. The more precise the building blocks, the more complex the thoughts that can emerge... Sounds like the evolution of programming languages doesn't it?
Reply With Quote