Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating dataset from VFP database
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00727979
Message ID:
00728179
Views:
19
Hi Dmitry

You can not use the wizards for VFP data. The wizard will not generate the correct code. You will need to manually create all the data access code. You can use the wizards to create SQL Server data access and then use it as a model for accessing VFP data. The coding is almost identical except for the prefix of the class name.

>In MSDN article on Databinding and in the VS.NET Walkthrough on databinding, they use a wizard to create a dataset for a SQL Server.
>
>I am having trouble creating dataset from VFP using the wizard. I placed OleDbDataAdapter object on the form but then I have no idea what to put in various fields of the wizard.
>
>I was wondering, is there a white paper or a document describing on how to use the wizard with VFP data?
>
>I know how to create a dataset in code (without wizard). Would I be better off just creating the dataset "manually" in the Page_load method of the page?
>
>The reason I would like to learn how to use the wizard is I want to see where VS.NET puts the code created based on the wizard entries.
>
>TIA for any suggestions.
>
>Happy Thanksgiving!
>
>Dmitry
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform