利用DataSet的ReadXml轻松读取XML文件及Stream流
string strxml = "121122111222"; DataSet ds = new DataSet(); Stream stream = new MemoryStream(Encoding.Default.GetBytes(strxml)); ds.ReadXml(stream); GridView1 …… 阅读全文
string strxml = "121122111222"; DataSet ds = new DataSet(); Stream stream = new MemoryStream(Encoding.Default.GetBytes(strxml)); ds.ReadXml(stream); GridView1 …… 阅读全文
function copyToClipBoard(a) { window.clipboardData.setData("Text", a); alert("复制成功,请粘贴到你的QQ/MSN上推荐给你的好友"); } function getEditorContents() { v …… 阅读全文
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class SplitContent : System.Web.UI.Page{ …… 阅读全文
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.W …… 阅读全文
protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "text/vnd.wap.wml"; StringBuilder builder = new StringBuilder(); builder.AppendLine(""); …… 阅读全文
可访问http://tool.chinaz.com/regex ,得出以下正则表达式匹配结果正则表达式 (CI)[\d]{12}|(10)[\d]{2}测试字符串 CI2013071800072000010010001ci20130718000711andi1002000_30100411100CI201307180007 …… 阅读全文