摘要: 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 阅读(663) 评论(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 阅读(283) 评论(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 阅读(924) 评论(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 阅读(726) 评论(2) 推荐(0)
摘要: Code 给UpDateCommand,InsertCommand,DeleteCommand属性编写代码虽然简单,但是也有很多的问题! 因袭每个数据一共程序都有自己的命令构造器(Command Bulider) ..如果DataTable对应数据库智能个的一个表,那么就可以用CommandBulider为DataAdapter自动生成对应的UpDateCommand,InsertComman... 阅读全文
posted @ 2008-11-23 15:30 Thinking.N 阅读(1503) 评论(1) 推荐(0)