摘要: Code addEventListener对应IE,attachEvent对应Firefox.. Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 无标题文档 阅读全文
posted @ 2008-12-04 22:37 Thinking.N 阅读(263) 评论(1) 推荐(0) 编辑
摘要: File的静态类: 包含的方法: Exists(Filename)-检查制定文件是否存在。 Copy(“TheSource File”,"The new file")--将文件从原位置复制到目标位置 Create()--从规定的路径创建文件 Delete()--删除文件 Open()--从规定的路径上返回FileStream对象 Move()--将制定的文件移动到新位置,可以在新位置为文件规... 阅读全文
posted @ 2008-12-01 11:48 Thinking.N 阅读(557) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Text; using System.Collections.Generic; public class Class1 { ... 阅读全文
posted @ 2008-11-25 18:05 Thinking.N 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Text; using System.Data; using Syste... 阅读全文
posted @ 2008-11-24 15:24 Thinking.N 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections.Generic; using System.Linq; using System.Text; using ... 阅读全文
posted @ 2008-11-23 21:02 Thinking.N 阅读(646) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections.Generic; using System.Linq; using System.Text; using ... 阅读全文
posted @ 2008-11-23 20:31 Thinking.N 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Code //代码说明 //本例没有创建数据集--DataSet ds=new DataSet(); //而是创建了以个表--DataTable dt=new DataTable(); //没有填充数据集---da.Fill(ds,"products"); //而是填充表--da.Fill(dt); //因为数据表之能保存一张表,所以注意Fill()方法没有接受数据表名作为参数.由于不需要在... 阅读全文
posted @ 2008-11-23 16:34 Thinking.N 阅读(914) 评论(3) 推荐(0) 编辑
摘要: .NET环境中,XML是数据交换的基本格式,In fact ,The xml is the base of the ADO.NET,The DataSet store the data with the Xml inside it,and has many methods to write and read the xml For example: 1.System.Data.DataSet... 阅读全文
posted @ 2008-11-23 16:02 Thinking.N 阅读(715) 评论(2) 推荐(0) 编辑
摘要: Code 给UpDateCommand,InsertCommand,DeleteCommand属性编写代码虽然简单,但是也有很多的问题! 因袭每个数据一共程序都有自己的命令构造器(Command Bulider) ..如果DataTable对应数据库智能个的一个表,那么就可以用CommandBulider为DataAdapter自动生成对应的UpDateCommand,InsertComman... 阅读全文
posted @ 2008-11-23 15:30 Thinking.N 阅读(1492) 评论(1) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections.Generic; using System.Linq; using System.Text; using ... 阅读全文
posted @ 2008-11-22 14:15 Thinking.N 阅读(401) 评论(0) 推荐(0) 编辑