在VS
protected void Application_Start(Object sender
{
System
System
System
System
System
oleDbConnection
oleDbConnection
oleDbConnection
ds = new DataSet();
daAttendees = new System
daRooms = new System
daEvents = new System
daAttendees
daRooms
daEvents
oleDbConnection
Application[
}
這裡需要注意代碼中的最後一行
為了能使上面的代碼正常執行
using System
這項技術非常適合於只讀數據
接下來需要把方法GetData()添加給Service
[WebMethod]
public DataSet GetData()
{
return (DataSet) Application[
}
[
From:http://tw.wingwit.com/Article/program/net/201311/14592.html