ListObject不显示SQL查询中的所有行 [英] ListObject does not show all row from SQL-query

查看:74
本文介绍了ListObject不显示SQL查询中的所有行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是这种情况....

VSTO项目包含SQL查询。

视觉控制列表对象从此查询中获取数据。

在查询预览中我看到它的所有结果,

但在可视控件中只有24行。

我试图只使用SQL查询在程序中,我试图从SQL服务器使用存储过程 - 但结果相同。

我不明白为什么会这样,问题在哪里...

我还试图重新创建项目 - 但是相同。

Here is the situation....
VSTO-project contain SQL-query.
And visual control List Object gets data from this query.
In the query preview i see all results of it,
but in the visual control there is just 24 rows.
I tried to use just SQL-query in the program, than i tried to use Store Procedure from SQL-server - but the same result.
I can not understand why is that, where is the problem...
Also I tried to recreate the project - but te same.

推荐答案

Hi Angela,

Hi Angela,

谢谢你在MSDN论坛上发帖。

Thanks for posting in MSDN forum.

我建议您检查SQL Server中的数据源是否与您预期的一样。您还可以创建一个Windows窗体应用程序,以查看来自SQL Server的数据查询是否正确。

I suggest that you to check the whether the datasource in SQL server is as you expected. Also you can create a windows form application to see whether the data query from SQL server is correct.

如果一切正常,请发布您正在使用的示例代码,以帮助我们重现此问题。

If everythings is ok, please post the sample code you are using to help us to reproduce this issue.

问候& Fei

Regards & Fei


这篇关于ListObject不显示SQL查询中的所有行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆