本文介绍了如何更改数据集具有数据的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我有一个包含水晶报表的项目,并且可以很好地解决这个问题
首先我有dataset1包含pic
imagenic/viewer.php?file=pkjnwmfzm641v8z5rhcg.png [ ^ ]
第二,该报告包括两列,如pic
imagenic/viewer.php?file=xnf2npi8q6qufmeq41.png [ ^ ]
但是当我运行项目时数据没有出现
所以我去看了ds中的数据
imagenic/viewer.php?file=vvama5jtb4kj29o6gsfu.png [ ^ ]
我发现ds将数据放入table1和table2
imagenic/viewer.php?file=1ajt9iwoo0u5fezif6.png [ ^ ]
imagenic/viewer.php?file=fispanmpcd74rdtlvp3v.png [ ^ ]
所以我需要知道如何将表1和表2更改为员工表 解决方案
尝试此链接 stackoverflow/questions/2690814/c-sharp-sql-data-adapter-filling现有类型数据集 或 在表格中填充数据时,请使用诸如的名称 adapter.Fill(dt," 员工" );
hi i have a project with crystal report and it work fine untill this problem first i have dataset1 contain as is pic imagenic/viewer.php?file=pkjnwmfzm641v8z5rhcg.png[^] second the report include two column as in pic imagenic/viewer.php?file=xnf2npi8q6qufmeq41.png[^] but the data didn''t appear when i run the project so i went to see data inside ds imagenic/viewer.php?file=vvama5jtb4kj29o6gsfu.png[^] and i find that ds is put the data in table1 and table2 imagenic/viewer.php?file=1ajt9iwoo0u5fezif6.png[^] imagenic/viewer.php?file=fispanmpcd74rdtlvp3v.png[^] so i need to know how to change table 1 and table 2 to be employee table
解决方案 Try this link stackoverflow/questions/2690814/c-sharp-sql-data-adapter-fill-on-existing-typed-dataset or while filling data in table give some name like adapter.Fill(dt,"employee");更多推荐
如何更改数据集具有数据的位置
发布评论