摘要: 灵活的运用数据绑定操作 绑定到简单属性:<%#UserName%> 绑定到集合:<asp:ListBox id="ListBox1" datasource='<%# myArray%>' runat="server"> 绑定到表达式:<%#(class1.property1.ToString() + "," + class1.property2.ToString())%> 绑定到方法返回值:<%# GetSafestring(str) %> 绑定到Hashta 阅读全文
posted @ 2012-08-01 11:02 唔愛吃蘋果 阅读(247) 评论(0) 推荐(0) 编辑