【发布时间】:2012-01-19 12:43:43
【问题描述】:
The new command text returns data with schema different from the schema of the main query. Check your query's command text if this is not desired.
当我在 Strongly Typed DataSet 中添加一个返回单列的查询时,我会收到此警告
前
`SELECT DISTINCT Building
FROM Room
ORDER BY Building
当我给出这个查询时,它会向我显示一个警告。
因为当我在 windows 窗体中调用相同的函数时,警告会导致约束错误
【问题讨论】:
标签: vb.net sql-server-2008-r2 strongly-typed-dataset