【问题标题】:Using datalist header template使用 datalist 标头模板
【发布时间】:2013-07-30 16:15:26
【问题描述】:

我有两个表名为tbl_catagoriestbl_subcatagories.... tbl_catagory 有两列:

1.Cat_id.  
2.Cat_name.  

tblSubcatagory 有 3 列,其中 cat_id 是其中的外键

1.Sub_id  
2.Cat_id foreign key.  
3.Sub_name.   

我在 datalist 中想要的是 catagorysubcatagory 的名称......

Like   
Computers  
1.desktops  
2.Laptops.  
Books  
1.Adventure.  
3.Romance.  

喜欢这个链接有

http://www.olx.in/?from=www

请帮我弄清楚。 提前致谢

【问题讨论】:

    标签: c# asp.net datalist


    【解决方案1】:

    希望以下内容有所帮助。 它也有用于创建 xml 文件的类似场景。

    检查一下。

    http://www.tomasvera.com/programming/generating-hierarchical-nested-xml-from-a-dataset/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-09-09
      • 2018-10-15
      • 1970-01-01
      • 2010-12-01
      • 2017-08-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多