Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp`s Seek equivalent to vb.net
Message
 
À
02/03/2003 23:50:57
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00760235
Message ID:
00760331
Vues:
9
Isn't Cathi already answered this?

>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
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform