Cho đoạn lệnh sau, nêu chức năng của đoạn lệnh sau? sub Submit_Click(obj as object,e as EventArgs)if tbName.Value "" Session("Name ")=tbName.ValueResponse.Write("Hi " & Session("Name ")&"!")
18/25
Cho đoạn lệnh sau, nêu chức năng của đoạn lệnh sau? sub Submit_Click(obj as object,e as EventArgs)
if tbName.Value <>"" Session("Name ")=tbName.Value
Response.Write("Hi " & Session("Name ")&"!") else
Response.Write("You forgot to enter a name.")
end if end sub
Dùng Session object để lưu trữ thông tin người lướt mạng