Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I find multiple columns in databindingsource
Message
 
To
21/05/2009 23:49:11
Arjun Bagojikop
Dynamic Super Software
Sangli, India
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01401506
Message ID:
01401567
Views:
57
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform