table_dm.pas
资源名称:delphi.rar [点击查看]
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:2k
源码类别:
Delphi控件源码
开发平台:
Delphi
- unit table_dm;
- interface
- uses
- Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd, ReqMulti,
- WebDisp, WebAdapt, WebComp, CompProd, PagItems, SiteProd, DBXpress,
- FMTBcd, MidItems, WebForm, DB, SqlExpr, DBAdapt, Provider, DBClient;
- type
- Ttable = class(TWebAppPageModule)
- AdapterPageProducer: TAdapterPageProducer;
- WebAppComponents: TWebAppComponents;
- ApplicationAdapter: TApplicationAdapter;
- PageDispatcher: TPageDispatcher;
- AdapterDispatcher: TAdapterDispatcher;
- DataSetAdapter1: TDataSetAdapter;
- AdapterForm1: TAdapterForm;
- AdapterGrid1: TAdapterGrid;
- AdapterCommandGroup1: TAdapterCommandGroup;
- CmdPrevPage: TAdapterActionButton;
- CmdGotoPage: TAdapterActionButton;
- CmdNextPage: TAdapterActionButton;
- ColCUST_NO: TAdapterDisplayColumn;
- ColCUSTOMER: TAdapterDisplayColumn;
- ColADDRESS_LINE1: TAdapterDisplayColumn;
- ColCITY: TAdapterDisplayColumn;
- ColSTATE_PROVINCE: TAdapterDisplayColumn;
- ColCOUNTRY: TAdapterDisplayColumn;
- AdapterCommandColumn1: TAdapterCommandColumn;
- CmdEditRow: TAdapterActionButton;
- CmdDeleteRow: TAdapterActionButton;
- AdapterCommandGroup2: TAdapterCommandGroup;
- CmdNewRow: TAdapterActionButton;
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- function table: Ttable;
- implementation
- {$R *.dfm} {*.html}
- uses WebReq, WebCntxt, WebFact, Variants, wsnapdata;
- function table: Ttable;
- begin
- Result := Ttable(WebContext.FindModuleClass(Ttable));
- end;
- initialization
- if WebRequestHandler <> nil then
- WebRequestHandler.AddWebModuleFactory(TWebAppPageModuleFactory.Create(Ttable, TWebPageInfo.Create([wpPublished {, wpLoginRequired}], '.html'), caCache));
- end.