public class WebForm
{
protected System
protected System
protected System
protected System
protected System
提示
Page_Load()現在需要創建DataSet對象
private void Page_Load(object sender
{
oleDbConnection
ds = new DataSet();
然後
ds = new DataSet();
daAttendees = new System
daRooms = new System
daEvents = new System
使用Fill()調用來執行查詢
daEvents = new System
daAttendees
daRooms
daEvents
現在進行數據綁定
daEvents
attendeeList
roomList
這段代碼設置了屬性
roomList
eventTable = ds
如果沒有回送
eventTable = ds
if (!this
{
calendar
this
}
oleDbConnection
}
現在運行這個應用程序
注意
[
From:http://tw.wingwit.com/Article/program/net/201311/14643.html