I have table(Title varchar,Description varchar).And I bind it to datagrid to use in windows application.But here i want to combine Title,Description and display the result in a single row-cell.
If I use like this
Select Names, 'myData' from emp
The output is:
Name1 myData
Name2 myData
Name3 myData
But, I need to display like this in a
Single column:
Name1
myData
Name2
myData
Name3
myData
and i want to bind it to datagrid.
How do I do this?
Try
This will insert a newline between the two column values and return the result as a single column.