ublicSqlConnectionlianjie()//数据库链接{commonsd=newcommon();SqlConnectionconn=newSqlConnection(common.str);conn.Open();returnconn;}publicboolzhixing(stringsqlstr)//执行sql语句的公共方法{commonsd=newcommon();SqlConnectioncon=newSqlConnection(common.str);con.Open