public static int DelStuInfo(string stuid) { string sql = "delete from Student where StuID = '" + stuid + "'"; return(DBAccess.ExecuteNonQuery(sql)); }
//根据id获得学生信息 public static DataTable GetStuInfoByID(string stuid) { string sql = "select * from Student where StuID = '" + stuid + "'"; return(DBAccess.ExecuteQueryReturnDT(sql)); }