A minor issue.  You need to do a call to DataBind at the end :)


Regards,


Scott :)


Peter wrote:
Thx for your help Scott,
only one pob

thats my Code
FbConnectionStringBuilder cs = new FbConnectionStringBuilder();

cs.DataSource = "localhost";

cs.Database = "D:\\delphi\\shop\\TEST.fdb";

cs.UserID = "SYSDBA";

cs.Password = "masterkey";

cs.Charset = "NONE";

cs.Pooling = false;

DataSet ds = new DataSet();

FbDataAdapter da = new FbDataAdapter("SELECT * FROM Z_TEMP WHERE id >= @id", cs.ToString());

da.SelectCommand.Parameters.Add("@id", 1);

da.Fill(ds);

dataGridView1.DataSource = ds;

But nothings happen in the DataGrid1, I think it's only a little mistake but i don't find them, sorry.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to