Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp`s Seek equivalent to vb.net
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Vfp`s Seek equivalent to vb.net
Divers
Thread ID:
00760235
Message ID:
00760235
Vues:
49
hi sir,
here a sample table called "fruits" with primary key "code"

code desc
----- -------
BAN BANANA
APP APPLE
TOM TOMATOE

in visual foxpro, issuing:
=seek("APP","fruits", "code")
will move you to the second row of the table fruits.

in vb.net having a dataset with the same structure..
i have two textboxes (txtcodesearch) and one button (btnSearch)
looks like this;
----------------- -------------
| txtcodesearch | | btnSearch |
----------------- -------------

-----------------
| txtdesc |
-----------------

- my txtdesc is bound to dsfruits1.fruits.code
- my txtcodesearch is not bounded, i use it to type the code i want to search
- my btnSearch will search the code typed in the txtcodesearch in the dataset and

"me.bindingcontext..." something to my txtdesc.

how to i move my record to the second row by finding the APPLE record?

-TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform