2006年12月5日
摘要: 该代码适应页面有一个提交按钮的情况 阅读全文
posted @ 2006-12-05 15:31 jtech 阅读(185) 评论(0) 推荐(0)
  2006年11月23日
摘要: Hi,This code can be used to save a current Stream to a File on your machine.The Stream may be an embeded resource i.e an avi clip stored in a dll or an exe & you wanna retrive ,capture & save it t... 阅读全文
posted @ 2006-11-23 11:33 jtech 阅读(597) 评论(1) 推荐(0)
摘要: 1//Stream流读写文件: 2 3private void button3_Click(object sender, EventArgs e) 4 { 5 //将textBox3.Text写入nihao.txt文件 6 Stream s = new FileStream("nihao.txt",FileMode.Create,Fi... 阅读全文
posted @ 2006-11-23 11:25 jtech 阅读(2680) 评论(0) 推荐(0)
  2006年11月16日
摘要: 在C#.net中如何操作XML需要添加的命名空间:using System.Xml; 定义几个公共对象:XmlDocument xmldoc ;XmlNode xmlnode ;XmlElement xmlelem ; 1,创建到服务器同名目录下的xml文件: 方法一:xmldoc = new XmlDocument ( ) ;//加入XML的声明段落xmlnode = xmldoc.Creat... 阅读全文
posted @ 2006-11-16 15:31 jtech 阅读(165) 评论(2) 推荐(0)