我在我的窗口中用了datagridview控件,并令其fill在空间中。之后在打包发布后,在别的机器上安装时。只要是win xp系统的电脑,窗口的显示就是正常的,而win 7系统的电脑中datagridview因为形状变小了,自动添加了滚动条。而且我试了调整分辨率,发现也不行。
在窗体中加入了一个DataGridView,进行了数据源的绑定,sql语句也没错,在查询生成器中都能够显示出正确结果,但不知道为何Datagridview中却无法显示? Dim myadpt As SqlDataAdapter = New SqlDataAdapter("select 所有订购商品信息表.商品名称,SUM(所有订购商品信息表.订购数量 ...
Could it be erroring out because of the custom columns you are trying to add to it?<BR><BR>I don't know the answer off the top of my head, but you could do something as simple as DataGridView1 = new ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果