listview 绑定hashtable 以及值的显示

                .cs 页面               

                hashtable hs = objManage.getdata();
                this.ListView1.DataSource = hs;
                this.ListView1.DataBind();

                .aspx 页面

                <td><%# DataBinder.Eval(Container.DataItem, "key")%>"</td>
                <td><%# DataBinder.Eval(Container.DataItem, "value")%>"</td>

原文地址:https://www.cnblogs.com/xiaogelove/p/1995667.html