如何更改数据集具有数据的位置

编程入门 行业动态 更新时间:2024-10-27 12:31:54
本文介绍了如何更改数据集具有数据的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 嗨 我有一个包含水晶报表的项目,并且可以很好地解决这个问题 首先我有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");

更多推荐

如何更改数据集具有数据的位置

本文发布于:2023-07-26 09:35:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1215528.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据   如何更改   位置

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!