-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDefault.aspx.cs
More file actions
32 lines (30 loc) · 888 Bytes
/
Default.aspx.cs
File metadata and controls
32 lines (30 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// _Default class version 1.0
// =================================
// Copyright (C) 2010 yang haichuan
// 作者: 杨海川
// Email: yanghaichuan@live.cn
// 最后修改时间: 2010 - 12 - 11
// 检查者: 陈兵
// 最后检查时间: 2010 - 12 -11
// =================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DT;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
initDutyTable();
}
private void initDutyTable()
{
DataClassesDataContext db = new DataClassesDataContext();
FillTable ft = new FillTable(10, 7);
ft.creatDataArray(db.Duty.ToList());
ft.fillDataArrayToTable(DutyTable,NoValueDisplay.NoValueString);
}
}