ct("adodb.recordset") rs.open sql,conn,1,3 if not rs.bof and not rs.eof then rs("")=studentname if studentsex="male" then ‘修改学生的信息
rs("性别")="男" else rs("性别")="女" end if rs("专业")=studentzhuanye rs("出生日期")=cdate(year1+"-"+month1+"-"+day1) rs("出生地")=studentchusheng rs.update