It's magic ;-)
Thanks a lot Richard, it works.

----- Original Message ----- From: "Richard Petheram" <[EMAIL PROTECTED]>
To: <firebird-net-provider@lists.sourceforge.net>
Sent: Wednesday, January 25, 2006 4:43 PM
Subject: RE: [Firebird-net-provider] Examples for Firebird in VS 2005 (C++)


I have a working example using SQL Server (in VB on VS2005). I think you
need to set the DataMember property of the grid to tell it which table in
the dataset to use. All my examples explicitly set the table name on load,
but using a line such as

DataGridView1.DataMember = ds.Tables[0].TableName;

should catch the only table in the dataset.

Cheers

Richard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter
Sent: 25 January 2006 15:10
To: firebird-net-provider@lists.sourceforge.net
Subject: Re: [Firebird-net-provider] Examples for Firebird in VS 2005 (C++)

ds.Tables[0] didn't work too, VS said
Error 3 Only assignment, call, increment, decrement, and new object
expressions can be used as a statement C:\Dokumente ...

I test my SQL Syntax and do an error in it and than my program break up.
So the Connection and the Select command works fine but he don't show me the
table.



----- Original Message ----- From: "Peter" <[EMAIL PROTECTED]>
To: <firebird-net-provider@lists.sourceforge.net>
Sent: Wednesday, January 25, 2006 3:57 PM
Subject: Re: [Firebird-net-provider] Examples for Firebird in VS 2005 (C++)


Thanks for the link,
if I read right I have to do following Code
DataGridView1.SetDataBinding(ds, "");But "SetDataBinding" doesn't
exist.----- Original Message ----- From: "Scott Price" <[EMAIL PROTECTED]>
To: <firebird-net-provider@lists.sourceforge.net>
Sent: Wednesday, January 25, 2006 3:52 PM
Subject: Re: [Firebird-net-provider] Examples for Firebird in VS 2005
(C++)


For Windows Forms applications, you may want to look over this article:

Binding the Windows Forms DataGrid Control to a Data Source

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vbtskbindingthedatagridcontroltoanadodataset.asp

Regards,


Scott :)


Peter wrote:
This doesn't exist too.
I programming with Visual Studio 2005 in C#.
Now I hang on my last little problem, I hope you or someone else can
help me.



-------------------------------------------------------
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




-------------------------------------------------------
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




-------------------------------------------------------
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



-------------------------------------------------------
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




-------------------------------------------------------
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