Page 1 of 1
DataLink problem
Posted: Thu 24 Feb 2011 10:59
by Strann
Hi Devart,
I have problem with DataLink component.
I try to do simple find operation:
Code: Select all
DataLink link = new DataLink();
DataBinding bind = new DataBinding();
link.DataSource=myTable; //OracleDataTable have collumn "ID"
bind.DataSource=myTable;
int pos = link.Find("ID", str);
//error DataMember property 'ID' cannot be found on the DataSource
pos = bind.Find("ID", str); //Success
What I have do uncorrectly?
Thank you
Posted: Fri 25 Feb 2011 17:51
by Shalex
Do you mean System.Windows.Forms.BindingSource instead of System.Web.UI.DataBinding? The DataLink component is built over the BindingSource class (
DataLink Component Architecture).
We have reproduced the situation when
DataLink.Find("ID", str); generates the mentioned error (but
BindingSource.Find("ID", str); works). We will investigate the issue and notify you about the results.
Posted: Mon 28 Feb 2011 09:12
by Strann
Thanks for reply
Do you mean System.Windows.Forms.BindingSource instead of System.Web.UI.DataBinding?
Yes.
The DataLink component is built over the BindingSource class
Yes, I put code with standard BindingSource as example of correct working base class of DataLink.[/quote]
Posted: Thu 03 Mar 2011 14:03
by Shalex
We have fixed the bug with the DataLink.Find() method. I will post here when the corresponding build is available for download.
Posted: Thu 03 Mar 2011 14:27
by Strann
Thank you.
Posted: Mon 14 Mar 2011 10:00
by Shalex
New build of dotConnect for Oracle 6.10.121 is available for download now!
It can be downloaded from
http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only):
http://secure.devart.com/ .
For more information, please refer to
http://www.devart.com/forums/viewtopic.php?t=20472 .