温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net在线考试系统源码及毕业设计论文
当前文件:
ExamOnline/Test/Fill.aspx.cs[934B,2009-6-12 11:42:06],打开代码结构图
ExamOnline/Test/Fill.aspx.cs[934B,2009-6-12 11:42:06],打开代码结构图1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Collections; 5
using System.Web; 6
using System.Web.Security; 7
using System.Web.UI; 8
using System.Web.UI.WebControls; 9
using System.Web.UI.WebControls.WebParts; 10
using System.Web.UI.HtmlControls; 11
12
public partial class Test_Fill : System.Web.UI.Page 13
{ 14
//该源码下载自www.51aspx.com(51aspx.com) 15
16
protected void Page_Load(object sender, EventArgs e) 17
{ 18
(new ExamOnline.AutoExercise()).FillRbl(RadioButtonList1, Literal1, Literal2, 6); 19
(new ExamOnline.AutoExercise()).FillCbl(CheckBoxList1, Literal3, Literal4, 16); 20
(new ExamOnline.AutoExercise()).FillTb(Literal5, Literal6, 15); 21
22
23
DataTable dt = (new ExamOnline.AutoExercise()).dt("X0001", 2, 3, 8); 24
Response.Write(dt.Rows.Count.ToString()); 25
GridView1.DataSource = dt; 26
GridView1.DataBind(); 27
28
} 29
} 30






}
}