problem in DataTextField with non simple return value
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 s开发者_如何学Pythonhould to affect to DataTextField?
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.
精彩评论