Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道使用 DataTextField 的语法是:
VA.DataTextField = "nameofcolum"
但如果我的请求不简单,这意味着我的请求会在本例中不存在的列中返回结果。我应该对 DataTextField 产生什么影响?
如果没有更多信息,很难说出您在此处寻找的内容。
如果您的结果集不包含您需要的列,请更改您的结果集- 更改您的查询。如果您需要将 datatextfield 作为列的组合,则可以遍历结果集并根据列值构建文本字符串并将其分配为显示值。