Home  >  Article  >  Database  >  直接从SqlServer中查的数据和返回到winform窗体中的数据不同。

直接从SqlServer中查的数据和返回到winform窗体中的数据不同。

WBOY
WBOYOriginal
2016-06-07 15:25:181087browse

公司的一个系统,用winform写的, 数据 库用的sqlserver 2008 R2。 现在 数据 库主表大概1亿 数据 ,有时候会出现这种情况: 通过查询显示在datagridview中的 数据 是这样: 【0008 781820VA150 06 L 42201412150074】 但在sqlserver中 直接 查询显示的却是

公司的一个系统,用winform写的,数据库用的sqlserver 2008 R2。

现在数据库主表大概1亿数据,有时候会出现这种情况:

通过查询显示在datagridview中的数据是这样:

【0008          781820VA150              06       L               42201412150074】

但在sqlserver中直接查询显示的却是这样:

【0008          781820VA150】

有一段数据确实丢失了,但为何返回到我datagridview中能看到那一段数据

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn