Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I find multiple columns in databindingsource
Message
 
À
21/05/2009 23:49:11
Arjun Bagojikop
Dynamic Super Software
Sangli, Inde
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01401506
Message ID:
01401567
Vues:
58
>Hi all
>i want to get result like vfp command in vb.net
>locate for vch=... and prcode=....
>
>in vb.net databindingsource.find is work only one column then how can i find two or thiee columns at a time
>please give idea
>
>Thanks in advance
I don't use vb but it should be similar to C#. You can use a foreach loop rather than the find. I was told my someone more skilled in .NET than myself that the foreach is very similar to the scan in vfp, in that it takes advantages of indexes so it is quite fast. I am assuming that you don't want to get a different dataset based on your search criteria. If getting a revised dataset based on your criteria is acceptable, that is probably the 1st choice. That's the sort of thing that is a little tough thinking about when making the transition from vfp to .net.
Linda Harmes
HiBit Technologies, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform