row 1, cell 1 | row 1, cell 2 | < 1 >
row 2, cell 1 2 __ > <_3 >row 2, cell 2 | 4_>
5 >
得分评卷人
1.解释代码:请解释下述代码的含义。(5
分)
INSERT INTO article ( title, writer, content )
VALUES (实验’学生’插入数
据’);
2•解释代码:请解释下述代码的含义。(5
分)
DELETE *
FROM article
WHERE 编号=1;
得分评卷人三、标准控件代码分析(每小题
(每小题5分,共10分)
10分,共20分)
1.解释代码:请解释下述代码的含义。(10分)
Butt on Ex.aspx :
<%@ Page Lan guage="VB" AutoEve ntWireup="false" CodeFile=" Butto
nEx.vb " In herits="_Default" %>
VDOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tran sitio
nal//EN"
"/TR/xhtml1/DTD/xhtml1-tra nsitio nal.dtd">
ns="/1999/xhtml" >
run at="server">
无标题页 Butt on Ex.vb :
&n bsp;
Cale ndarEx.vb :
Partial Class _Default
In herits System.Web.UI.Page
Partial Class _Default
In herits System.Web.UI .P age
Protected Sub Butto n1_Click(ByVal sen der As Object, ByVal e As System.Eve ntArgs) Han dles Butto n1.Click
Protected Sub Cale ndar1_Selectio nCha nged(ByVal sender As Object, ByVal e As System.Eve ntArgs) Han dles Cale ndar1.Select ion Cha nged
Label1.Text = Cale ndar1.SelectedDate.T oShortDateStri ng() End Sub End Class
Response.Write (”通过按钮的Click 事件触发后显示!")
End Sub
Protected Sub Butt on 1_Comma nd(ByVal sen der As Object, ByVal e As System.Web.UI.WebC on ma ndEve ntArgs) Ha ndles Butto ma nd Label1.Text = Label1.Text + "1" End Sub End Class 2.解释代码:请解释下述代码的含义。 (10分) Cale ndarEx.aspx : <%@ Page La nguage="VB" AutoEve ntWireup="false" CodeFile=" Cale ndarEx.vb " In herits="_Default" %> VDOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tran sitio nal//EN" "/TR/xhtml1/DTD/xhtml1-tra nsitio nal.dtd">
无标题页