DataLink problem

DataLink problem

Postby Strann » Thu 24 Feb 2011 10:59

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
Strann
 
Posts: 3
Joined: Thu 24 Feb 2011 10:38

Postby Shalex » Fri 25 Feb 2011 17:51

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.
Shalex
Devart Team
 
Posts: 7839
Joined: Thu 14 Aug 2008 12:44

Postby Strann » Mon 28 Feb 2011 09:12

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]
Strann
 
Posts: 3
Joined: Thu 24 Feb 2011 10:38

Postby Shalex » Thu 03 Mar 2011 14:03

We have fixed the bug with the DataLink.Find() method. I will post here when the corresponding build is available for download.
Shalex
Devart Team
 
Posts: 7839
Joined: Thu 14 Aug 2008 12:44

Postby Strann » Thu 03 Mar 2011 14:27

Thank you.
Strann
 
Posts: 3
Joined: Thu 24 Feb 2011 10:38

Postby Shalex » Mon 14 Mar 2011 10:00

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 .
Shalex
Devart Team
 
Posts: 7839
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle