C#.net中封装类是怎么个意思啊 不懂 谁能和我解释下啊
1个回答
2013-12-12
展开全部
usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;usingSystem.Data.SqlClient;usingSystem.Text;namespaceChinaSite.classes{publicclassDbAccess{SqlConnectionconn=null;SqlCommandcmd=null;publicDbAccess(){////TODO:在此处添加构造函数逻辑//conn=newSqlConnection();//conn.ConnectionString="initialcatalog=pubs;datasource=.;userid=sa;password=&q ...
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询