当前位置:编程学习 > C#/ASP.NET >>

silverlight中把list<dictionary<string,string>>绑定到telerik reporting

代码是:
 IList<Dictionary<string,string>> list = new List<Dictionary<string,string>>();
            Dictionary<string, string> a = new Dictionary<string, string>();
            a["a1"] = "zhuwei";
            a["a2"] = "zhanglong";
            a["a3"] = "zhaoguang";

            Dictionary<string, string> b = new Dictionary<string, string>();
            b["a1"] = "zhuwei1";
            b["a2"] = "zhanglong1";
            b["a3"] = "zhaoguang1";

            list.Add(a);
            list.Add(b);

            this.DataSource = a;

想展示成如下效果:
   a1                a2                  a3
zhuwei          zhanglong       zhaoguang
zhuwei1        zhanglong       zhaoguang
应该如何编码? Silverlight Dictionary Telerik 
补充:.NET技术 ,  C#
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,