摘要: 1、1.x中的数据绑定语法<asp:Literal id="litEval2" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "userName")%>' />2、 2.x简化Eval数据绑定语法<asp:Literal id="litEval1" runat="server" Text='<%Eval("userName")%>' 阅读全文
posted @ 2012-05-06 11:09 沐雪架构师 阅读(590) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.IO;using System.Xml;namespace XmlDesign{ class XmlDatasetConvert { //将xml对象内容字符串转换为DataSet public static DataSet ConvertXMLToDataSet(string xmlData) { StringReader stream = null; XmlTextReader reader = nul 阅读全文
posted @ 2012-05-06 01:16 沐雪架构师 阅读(199) 评论(0) 推荐(0) 编辑