TCPAdoServerClient

所属分类:网络编程
开发工具:Delphi
文件大小:835KB
下载次数:35
上传日期:2010-11-24 07:48:22
上 传 者cecilleyokose
说明:  TCP AdoServer/Client is a multi-tier tool to design a a thin client application that connects to an application server. It is built using Indy components and ADO. TCP AdoServer/Client is a simple and complete solution to develop and implement a multi-tier applications.

文件列表:
Test (0, 2006-10-06)
Test\CLientTest.cfg (434, 2006-01-11)
Test\CLientTest.dof (2626, 2006-01-11)
Test\CLientTest.dpr (190, 2005-12-02)
Test\CLientTest.exe (855040, 2006-10-06)
Test\CLientTest.res (876, 2005-12-02)
Test\Project1.cfg (434, 2005-12-02)
Test\Project1.dof (2626, 2005-12-02)
Test\Project1.res (876, 2005-12-02)
Test\ProjectGroup1.bpg (883, 2005-12-07)
Test\ProjectGroup1.~bpg (821, 2005-12-07)
Test\ServerTest.cfg (434, 2006-10-06)
Test\ServerTest.dof (2626, 2006-10-06)
Test\ServerTest.dpr (188, 2005-12-02)
Test\ServerTest.exe (704000, 2006-10-06)
Test\ServerTest.res (876, 2005-12-02)
Test\ServerTest.~dpr (188, 2005-12-02)
Test\Test.mdb (122880, 2006-10-06)
Test\Unit1.dcu (4766, 2006-10-06)
Test\Unit1.ddp (51, 2006-10-06)
Test\Unit1.dfm (1479, 2006-10-06)
Test\Unit1.pas (1232, 2005-12-19)
Test\Unit1.~ddp (51, 2005-12-19)
Test\Unit1.~dfm (1385, 2005-12-19)
Test\Unit1.~pas (1232, 2005-12-19)
Test\Unit2.dcu (5433, 2006-10-06)
Test\Unit2.ddp (51, 2005-12-19)
Test\Unit2.dfm (1494, 2005-12-19)
Test\Unit2.pas (1801, 2005-12-19)
Test\Unit2.~ddp (51, 2005-12-19)
Test\Unit2.~dfm (1454, 2005-12-19)
Test\Unit2.~pas (1801, 2005-12-19)
Project1.cfg (434, 2005-11-30)
Project1.dpr (215, 2005-11-30)
Project1.res (876, 2005-11-30)
Project1.~dpr (188, 2005-11-30)
Project1.dof (2626, 2005-11-30)
Project2.cfg (434, 2005-12-02)
Project2.dpr (215, 2005-12-01)
Project2.res (876, 2005-12-01)
... ...

TCP AdoServer/Client ver.1.0.1 (Dec, 19 2005) ============================== By Allan Bandanes (email : allan.bandanes@gmail.com) TCP AdoServer/Client is a multi-tier tool to design a a thin client application that connects to an application server. It is built using Indy components and ADO. TCP AdoServer/Client is a simple and complete solution to develop and implement a multi-tier applications. Terms and Conditions -------------------- You may use the software either personal or commercial purposes provided that you will acknowledge the author of the software by sending a mail that you are using the components. You may modify, add or experiment additional features into it and of course informing the author. The author is not liable for any cause or damage may cause in your system by using it. Use it at your own risk!!! ========================== How to Install -------------- 1. Extract the .zip file into your specified folder 2. Open WebAdoPack.dpk from your Delphi application 3. Click Install, this will now install two components. The TCPAdoServer and TCPAdoClient component. Demo Program ------------ The demo program is located at ..\Test Folder. It has two applications the ServerTest.dpr and ClientTest.dpr. ServerTest acts as as Application Server that connects diredtly to the Test.mdb which is a Access database file. ClientTest.dpr is the thin client that connects to the ServerTest. To Start the server, you must modify the connectionstring of the AdoConnection1 on the form to the location where you had extracted the .zip file. You must look for the Test.mdp. Make sure that you set the Connected Property to true. Set the Port property to any number available in your port Default is 55. While running just press the start button to start the application server. For the client simply set the Host property of the TCPAdoClient using the IP of the server eq. 192.168.10.2 and the Port Property to the Port used by the Server. Run it and click Open to see results from the grid. Available Client Methods ------------------------ TTCPAdoClient.Open(Value : String); * Use this method to use simple select statements from the database. eq: TCPAdoClient1.Open('select * from Person'); TTCPAdoClient.ExecSQL(Value : String); * Use this method for Updating the database. eq: TCPAdoClient1.ExecSQL('Delete From Person where ID = 1'); TTCPAdoClient.ExecProc(Value : String); * Use this method for Executing Stored Procedure from the database eq: TCAdoClient1.ProcSql('Ten Most Outstanding Sales;1');

近期下载者

相关文件


收藏者