problem in DataTextField with non simple return value

68 Views Asked by At

I know that the syntax for using DataTextField is:

VA.DataTextField = "nameofcolum" 

but if my request is not simple that means my request returns the result in a column which not exist in this case. What I should to affect to DataTextField?

1

There are 1 best solutions below

2
On

It's hard to tell what you're looking for here without more information.

If your result set does not contain the column you need, change your result set - alter your query. If you need your datatextfield as a combination of columns, you can iterate through the result set and build the text string based on the column values and assign it as the display value.