![]() |
Click here to advertise with us
|
|
|||||||
| Web Forms Discussion on web forms related topics, web form development, techniques, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hey,
I have a requirement, If in datatable the value of one column is null. I gotta show the value of other column in the same column. For example: Code:
id | name | descript | descriptionType 1 | ab | | doc 2 | pd | pdf | 3 | cd | | Business Code:
id name descript 1 ab doc 2 pd pdf 3 cd business. |
|
|||
|
You can modify your SQL SELECT statement like this :
Code:
SELECT Id, Name, ISNULL(Descript, descriptionType) AS Description
__________________
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? |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|