摘要:
DataSet ds=new DataSet();System.IO.FileStream fs=new System.IO.FileStream("abc.xml",System.IO.FileMode.Open);//读取XML文档ds.ReadXmlSchema(fs);fs.Close();... 阅读全文
posted @ 2010-03-16 10:56 阳光有约 阅读(449) 评论(0) 推荐(0)
|
|
|
|
摘要:
DataSet ds=new DataSet();System.IO.FileStream fs=new System.IO.FileStream("abc.xml",System.IO.FileMode.Open);//读取XML文档ds.ReadXmlSchema(fs);fs.Close();... 阅读全文
posted @ 2010-03-16 10:56 阳光有约 阅读(449) 评论(0) 推荐(0)
摘要:
#region 将二进制转化为文件 public static string ConvertByteToFile(object objData, string filePathName) { //string fileName = ""; //fileName = new PublicCons... 阅读全文
posted @ 2010-03-16 10:52 阳光有约 阅读(4095) 评论(2) 推荐(0)
摘要:
#region 将二进制转化为文件 public static string ConvertByteToFile(object objData, string filePathName) { //string fileName = ""; //fileName = new PublicCons... 阅读全文
posted @ 2010-03-16 10:51 阳光有约 阅读(1944) 评论(0) 推荐(0)
摘要:
publicstaticbyte[]ConvertFileToByte(stringfileName) { if(!System.IO.File.Exists(fileName)) { returnnull; } System.IO.FileStreamfs=newSystem.IO... 阅读全文
posted @ 2010-03-16 10:38 阳光有约 阅读(224) 评论(0) 推荐(0) |
|