Question to DataLink

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Zero-G.
Posts: 391
Joined: Sat 09 Dec 2006 12:20

Question to DataLink

Post by Zero-G. » Wed 13 Feb 2008 14:50

Hey

I use VB.NET 2005 and the lates Building of your Product

I try to use the following code:

Code: Select all

            Me.KundenstammLink.Position = Me.KundenstammLink.Find("KundenID", _KundenID)
            Dim dView As CoreLab.Common.DbDataRowView
            dView = Me.KundenstammLink.Current
            Me.txtNachname.Text = dView.InnerRow.Item("Nachname").ToString
The Problem is, that KundenstammLink.Position is still on first Position. How to change the Position of the DataLink, so that the cursor stands on the position, where KundenID = _KundenID?

THX[/code]

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Thu 14 Feb 2008 12:38

Please send me (alexey*crlab*com) a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
Do not use third party components.

Post Reply