开发者

problem in DataTextField with non simple return value

开发者 https://www.devze.com 2023-01-01 12:37 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消