摘要:
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")%>' 阅读全文
摘要:
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 阅读全文