摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using System.Text.RegularExpression... 阅读全文
posted @ 2015-05-25 23:45 haungfeifei 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1、简述private、protected、public、internal修饰符的访问权限。private:私有成员,在类的内部才可以访问。protected:保护成员,该类内部和继承类中可以访问。public:公共成员,完全公开,没有访问限制。internal:当前程序集内可以访问。2、ADO.NET中的五个主要对象Connection:主要是开启程序和数据库之间的连接。没有利用连接对象将数据库打开,是无法从数据库中取得数据的。Close和Dispose的区别,Close以后还可以Open,Dispose以后则不能再用。Command:主要可以用来对数据库发出一些指令,例如可以对数据库下达查 阅读全文
posted @ 2013-10-23 21:25 haungfeifei 阅读(600) 评论(0) 推荐(0) 编辑