Đoạn mã sau thực hiện công việc gì?text
12/25
Đoạn mã sau thực hiện công việc gì?
<%@codepage=65001%>
<%
id=request.queryString("id")
ten=Request.form("menu")
Set rsmenu = Server.CreateObject("ADODB.RecordSet")
sqlmenu="SELECT * FROM MENU where id=" & id
Rsmenu.open sqlmenu, conn,1,3
'----Cap nhat lai------------
rsmenu("TEN")=TEN
rsmenu.update
Response.redirect "QuanLyMenu.asp"
%>
Lấy 2 biến id, ten để cập nhật lại thông tin cho bản menu
Lấy biến ten để cập nhật lại thông tin cho bản menu
Lấy 1 biến id để cập nhật lại thông tin cho bản menu
Dùng để xóa table menu
Giải thích
Chọn đáp án A