摘要: private void saveImage() { string baseUri = "http://www.hjxsy.com/hjxp/showimg.asp?id="; for(int _number = 1; _number "); string _pm = pm2.Substring(0,pm3).Trim(); int firstY... 阅读全文
posted @ 2004-06-30 13:41 thanks 阅读(1774) 评论(0) 推荐(0)
摘要: 去了那里,其他地方基本上都用不着去了,不管是有问题提问或者找文档。 确实是个好地方。 大家觉得呢? 阅读全文
posted @ 2004-04-14 17:18 thanks 阅读(1064) 评论(3) 推荐(0)
摘要: /*上传文件C#-1*/file.PostedFile.SaveAs(Server.MapPath("/temp/") + file.PostedFile.FileName.Substring(file.PostedFile.FileName.LastIndexOf("\\")+1)); /*上传文件C#-2*/using System;using System.Data;using Syst... 阅读全文
posted @ 2004-04-07 11:22 thanks 阅读(3168) 评论(2) 推荐(0)
摘要: /*读取xml数据*//*两种xml方式*/ something something /*第一种方法*/DS.ReadXml("your xmlfile name");Container.DataItem("bb");Container.DataItem("cc"); DS.ReadXmlSchema("your xmlfile name"); /*第二种方法*/ 如... 阅读全文
posted @ 2004-04-07 11:21 thanks 阅读(936) 评论(0) 推荐(0)
摘要: /*临时文件路径*/Path.GetTempPath(); /*得到IP地址*/this.Context.Request.UserHostAddress.ToString(); 阅读全文
posted @ 2004-04-07 11:20 thanks 阅读(706) 评论(0) 推荐(0)
摘要: 这个我刚做过:我也是和你一样,最后看帮助看到的:System.IO.StreamReader st;//从.txt中读文件st=new System.IO.StreamReader(openFileDialog1.FileName,System.Text.Encoding.Default );//将读出来的文本赋给文本框richTextBox1.Text=st.ReadToEnd();//关闭对象... 阅读全文
posted @ 2004-04-07 11:19 thanks 阅读(641) 评论(0) 推荐(0)