如何使用sqldatasource绑定treeview中的数据

时间:2013-01-12 12:00:16

标签: c# treeview

我有以下两个表中的数据

Parent MaterChild Master

parent master中,有两个字段prtIDname。在child master中有三个字段IDnameprtid prtid 是来自parent master的外键。

我想在c#.net的Windows应用程序中将数据与TreeView绑定 这样每个孩子都会出现在其父节点内。

请指导我正确指导这项任务吗?

1 个答案:

答案 0 :(得分:1)

看起来像重复的条目。在提出新问题之前请先进行一些搜索: