DisconnectedServiceAgentExample
所属分类:Windows编程
开发工具:Visual Basic
文件大小:50KB
下载次数:4
上传日期:2010-01-27 09:32:00
上 传 者:
alonger
说明: Disconnected Service Agent Example by Visual Studio .net for VB
文件列表:
DisconnectedServiceAgentExample (0, 2008-10-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample (0, 2008-10-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\app.config (892, 2007-04-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\AppDatabase.sdf (122880, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\AppDatabaseDataSet.Designer.vb (64824, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\AppDatabaseDataSet.xsc (1155, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\AppDatabaseDataSet.xsd (14135, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\AppDatabaseDataSet.xss (1059, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\DisconnectedServiceAgentExample.vbproj (11226, 2007-04-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\MainForm.Designer.vb (7665, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\MainForm.resx (7830, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\MainForm.vb (3233, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\My Project (0, 2008-10-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\My Project\AssemblyInfo.vb (1205, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\My Project\Resources.Designer.vb (2383, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\My Project\Resources.resx (5618, 2005-09-22)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrderProductDialog.Designer.vb (8857, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrderProductDialog.resx (7683, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrderProductDialog.vb (4226, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrdersResultSet.datasource (639, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrdersResultSet.Designer.vb (6832, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrdersResultSet.xsc (381, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrdersResultSet.xsd (8740, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\OrdersResultSet.xss (850, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsEditViewDialog.Designer.vb (8089, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsEditViewDialog.resx (7083, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsEditViewDialog.vb (259, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsSummaryViewDialog.Designer.vb (12058, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsSummaryViewDialog.resx (6510, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ProductsSummaryViewDialog.vb (2236, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ViewOrdersDialog.Designer.vb (7914, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ViewOrdersDialog.resx (7849, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\ViewOrdersDialog.vb (434, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References (0, 2008-10-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References\OrdersWebService (0, 2008-10-28)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References\OrdersWebService\OrdersService.disco (861, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References\OrdersWebService\OrdersService.wsdl (3332, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References\OrdersWebService\Reference.map (644, 2007-04-19)
DisconnectedServiceAgentExample\DisconnectedServiceAgentExample\Web References\OrdersWebService\Reference.vb (2743, 2007-04-28)
... ...
This sample was created by first building the SQL Server CE
database and creating the Products and Orders tables, then
creating a DataSet containing these two tables.
The main form was created by dragging the Products table
from the Data Sources window onto the main form. Then the
Edit and View product forms created by using the Generate Data
Forms feature on the smart tag on the DataGrid.
The additions to this to handle taking of Orders were to add
a new menu item to the ProductsSummaryViewDialog form, which
shows the OrderProductDialog form. The OrderProductDialog
contains the logic to queue a request with the
Disconnected Service Agent. The other addition is the
ViewOrdersDialog form that hangs off another new menu item,
this time on the main form.
TO RUN THIS SAMPLE SUCCESSFULLY:
Install the Orders Web Service on your development PC - see
the ReadMe in the Chapter 7 folder for help with this.
Then edit the App.Config file and change the URL in the
section to match the URL where the Web Service
is installed.
To run this sample successfully in the emulator, make
sure you use Device Emulator Manager to cradle the
device, to ensure you can get connectivity to your
network. See Chapter 4 for instructions on how to
cradle the emulator.
近期下载者:
相关文件:
收藏者: