易截截图软件、单文件、免安装、纯绿色、仅160KB

delphi总是提示用户sa登陆失败但是测试能连接上

unit Unit1;//连接数据库,加载用户帐号。

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,unit2,unit3,StdCtrls;

type
TForm1 = class(TForm)
    Button1: TButton;
    Button2: TButton;
    Button3: TButton;
    Edit1: TEdit;
    Label1: TLabel;
    Label2: TLabel;
    ComboBox1: TComboBox;
    procedure FormCreate(Sender: TObject);
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure Button3Click(Sender: TObject);
private
    { Private declarations }
public
    { Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
with datamodule2 do
begin
    adoquery1.Connection:=adoconnection1;
    adoquery1.SQL.Clear;
    adoquery1.SQL.Add('select * from login where user='''+trim(combobox1.Text)+''' and psw='''+trim(edit1.Text)+'''');
    adoquery1.Active:=true;
    if not adoquery1.Eof then


相关问答:

delphi内置的加密解密单元是哪个?

delphi内置的加密解密单元是哪个?
Delphi有内置加密解密单元?

delphi里有个加密和解密的单元

引用
delphi里有个加密和解密的单元


是哪个?

windows的api?

标准加密的源代码,网上 ......

delphi 异步线程

delphi 异步线程怎么怎么实现?
请各位大佬帮忙!
最好有个实例!
多谢

你不同步就是异步了,还写啥

默认情况下,线程就是异步的…………*^_^*

估计楼主同步和异步概念都没弄清

真无语。。可 ......

delphi編寫自動更新程序

由于客戶端有的文件經常更新(遠程的,不是局域網),
所以想寫個自動更新的 程序。
看網上的 方法資料,知道些方法,但不知道具體怎么寫。
......

delphi idhttp cookies提交

我先用idhttp 的get方法访问一个网站,网站返回了一段cookie,当我 调用 idhttp post方法的时候,我如何把服务器返回的这段cookies带上 ,先谢谢各位了 
读取 HTTP Response Header
里面有 Set-Cookies 域 ......

DElPHI生成的EXE文件,怎么把XML文件集成进去

现在做了一个简单的程序,用到了XML作数据库(内容有点多),

目前我是把XML内容写在DELPHI里的一个Const 变量里,可是XML内容少的时候,没有问题,

多了就提示[错误] Unit1.pas(144): Too many local ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号