摘要:
有个大虾发了个知识贴,不过排版不是很清晰。我重新做了发上来。usingSystem;usingSystem.Data;usingSystem.Data.SqlClient; 这是命名空间,不用多讲解了吧。publicclassDAL//定义一个类{stringcnstr="datasource=.;initialcatalog=company;persistsecurityinfo=False;userid=sa;pwd=sa;";//定义连接数据库的连接字符串privateSqlCommandcm=newSqlCommand();//建立Command对象//定义一个全局 阅读全文
posted @ 2011-12-19 15:33
龙仪
阅读(629)
评论(0)
推荐(0)
浙公网安备 33010602011771号