Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# replacement for VFP code
Message
 
To
04/11/2006 13:12:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01167122
Message ID:
01167876
Views:
8
>>Hi
>>I'm starting to use C# a fair bit now in Dot net, and am wondering if
>> there is any resource out there which has a 'Replacement' table for VFP v's C# commands, particualarly data commands
>>(I've got Dot Net for VFP Developers book and also had a look at the VFP toolkit for dot net. These do a good job but dont concentrate on Data type commands.
>>If theere was something like the following:
>>
>>VFP C#
>>--- ---
>>Seek = ???
>>Append Blank = ???
>>Replace = ???
>>Delete = ???
>>
>>I realise that the Dot net world is different (using Datasets, datareaders etc) but maybe there some useful info out there somewhere.
>>
>>regards,
>>Gerard
>
>Sorry, nothing similar in dotNet. That's one of many reasons why so many has decided that VFP will remain their primary tool for a lot of years to come. DotNet and data crunching, forget it, or use SQL as backend.

I'm coming in late to this slug fest, but I wonder if your writing code in any other environment outside of FP? Since the dawn of digital information we have been doing these things.

When I see Append Blank I'm guessing that they don't have much experience with the ADO object. Otherwise you'd know that your only adding a row. Replace is on data locally or against your real table .dbf() ? Because you do it differently depending on the container. Delete is part of your table object.
Previous
Reply
Map
View

Click here to load this message in the networking platform