- 博客(6)
- 收藏
- 关注
原创 SWT example
22:46:21package sunnie.swt;import org.eclipse.swt.SWT;import org.eclipse.swt.custom.SashForm;import org.eclipse.swt.custom.StackLayout;import org.eclipse.swt.events.SelectionAdapter;import o
2010-01-06 22:46:00
628
原创 Xml to txt
using System;using System.Text;using System.Xml;using System.IO;namespace XmlToText{ class Program { static void Main(string[] args) { FileStre
2008-09-19 17:22:00
812
原创 Traverse XmlElement
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;namespace XmlReader{ class Program { static void Main(string[] a
2008-09-18 17:01:00
236
原创 convert a string to XmlElement
XmlDocument xmlDoc = new XmlDocument(); XmlDocumentFragment frag = xmlDoc.CreateDocumentFragment(); frag.InnerXml = inputString xmlDo
2008-09-13 18:02:00
276
原创 Catch the port number of an Url
static int GetPortNum(string url) { string[] split = url.Split(new char[] { /, : }); int portNum = 34567; foreach (string s in split)
2008-09-13 17:21:00
320
原创 retrieve Xml
One:static string GetProperty(string name) { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("WEBSSTestSuite.deployment.ptfconfig"); XmlNodeList xe = xmlD
2008-09-13 15:37:00
446
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人