DbAnyWhere-Java已经成型,将一套用Ado开发的生产管理系统改造了一下,一上午改造完毕。(100分)

  • 主题发起人 主题发起人 差不多算了
  • 开始时间 开始时间

差不多算了

Unregistered / Unconfirmed
GUEST, unregistred user!
DbAnyWhere-Java已经成型,将一套用Ado开发的生产管理系统改造了一下,一上午改造完毕
DbAnyWhere-Java是企业级别应用,服务端采用Java写的,并发和性能比原来的p2p和http服务要好很多。终端和Ado开发基本相同,将原来的语法修改成和ADo基本相同了,可以大大节省改造时间。
QQ: 67189250
 
有沒有demo測試
 
最近想多了解些关于MIDAS与DCOM方面的内容的,最好能看一下整个程序架构就好啦!!!!!
 
能不能贴完整的代码?
具体怎么实现的?
 
这个例题上有代码,可以直接看到:
http://www.delphibbs.com/delphibbs/dispq.asp?lid=3633954
 
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, remotejavaconnection, DB, DBClient, RemoteJavaDataSet,
Grids, DBGrids, RemoteUpdateSql;
type
TForm1 = class(TForm)
Label1: TLabel;
Edit1: TEdit;
Label2: TLabel;
Edit2: TEdit;
DataSource1: TDataSource;
DBGrid1: TDBGrid;
qq: TRemoteJavaDataSet;
RJC: TRemoteJavaConnection;
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
Button5: TButton;
Button7: TButton;
RemoteUpdateSql1: TRemoteUpdateSql;
Memo1: TMemo;
Edit3: TEdit;
Label3: TLabel;
Edit4: TEdit;
Label4: TLabel;
procedure Button7Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button5Click(Sender: TObject);
procedure DataSource1DataChange(Sender: TObject;
Field: TField);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button7Click(Sender: TObject);
begin
close;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
qq.RemoteJavaConnection:=Rjc;
Rjc.RemoteIp:=edit1.Text;
Rjc.RemotePort:=strtoint(edit2.Text);
qq.PageSize:=strtoint(edit4.text);
qq.Close;
qq.SQL.Text:='select * from test';
qq.Open;
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
qq.FirstPage;
end;

procedure TForm1.Button3Click(Sender: TObject);
begin
qq.PriorPage;
end;

procedure TForm1.Button4Click(Sender: TObject);
begin
qq.NextPage;
end;

procedure TForm1.Button5Click(Sender: TObject);
begin
qq.LastPage;
end;

procedure TForm1.DataSource1DataChange(Sender: TObject;
Field: TField);
begin
edit3.Text:=vartostr(qq.PageNo)+'/'+vartostr(qq.PageNum);
end;

end.
 
2006最恶心的广告!
 
德行!!
 
多人接受答案了。
 
后退
顶部