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