Really sorry for that.

I use Visual Studio 2005 with C# and programming a WinForm.
And on this WinForm only a Button and a DataGridView and if I push the button, my programm do the code I have posted.


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


Hello Peter,


Firstly I would need to know in what context you have written this code. Is it on a WinForm, or an ASP.NET WebForm?

I tend to develop in Delphi out of preference, so you may have to excuse my lack of familiarity with any VS specific qwerks or syntax.

Try MSDN for reference on the specifics:

http://search.msdn.microsoft.com/search/results.aspx?qu=DataBind&View=msdn&st=b

WebForms inherit from the web UI Control class, which has a method called DataBind.


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.



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


try:

   self.DataBind;

Its not a method of the datagrid.


Scott :)

Peter wrote:
I search for and

dataGridView1.DataBind();

doesn't exist, I try

dataGridView1.refresh();

but the same, the dataGrid is empty.


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


Something like this:

   dataGridView1.DataSource = ds;
   DataBind;


Scott :)


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