472,328 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

Connecting to FoxPro to .Net

Edb
Hi Everyone,

I need to build an ASP.Net project that wraps around a FoxPro Database. It
appears that I need

to create an ODBC Connection to .dbf files. Some of them have relations to
each other.

I have not done this before but have a few assesments on how to do it.

a. Create ODBC Connection to each database and make connection strings in
..Net to them.
The issue with this is what if I need to grab specific column types from
each .dbf file? How to do?

b. Create ODBC Connection to SQL and link the database to SQL Server. I
am curious ... because SQL
is linking the databases, can I run stored procedures in SQL to join column
types to my project.

I am just curious. I thank everyone in this forum for there assistance.

Happy Day and Happy Coding,
edb
Nov 20 '05 #1
2 1227
* "Edb" <m1**@dm2000.com> scripsit:
I need to build an ASP.Net project that wraps around a FoxPro Database. It
appears that I need

to create an ODBC Connection to .dbf files. Some of them have relations to
each other.

I have not done this before but have a few assesments on how to do it.

a. Create ODBC Connection to each database and make connection strings in
.Net to them.
The issue with this is what if I need to grab specific column types from
each .dbf file? How to do?

b. Create ODBC Connection to SQL and link the database to SQL Server. I
am curious ... because SQL
is linking the databases, can I run stored procedures in SQL to join column
types to my project.


You will get more information on that here:

<http://msdn.microsoft.com/newsgroups/default.asp?url=/newsgroups/loadframes.asp?icp=msdn&slcid=us&newsgroup=microso ft.public.dotnet.framework.adonet>
<http://www.connectionstrings.com>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Another option you might consider is to use the Visual FoxPro OLEDB
Provider, which you can download from MSDN. There are differences in
functionality with the OLEDB Provider depending on whether you are using 2.x
databases or VFP (3.0 or later) databases, but it may be helpful to you.

There is also a pretty good article in the MSDN Library on using ASP.NET and
VFP (both code and data) together.

Hope this helps,

Robert Green
Microsoft

"Edb" <m1**@dm2000.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Everyone,

I need to build an ASP.Net project that wraps around a FoxPro Database. It
appears that I need

to create an ODBC Connection to .dbf files. Some of them have relations to each other.

I have not done this before but have a few assesments on how to do it.

a. Create ODBC Connection to each database and make connection strings in
.Net to them.
The issue with this is what if I need to grab specific column types from
each .dbf file? How to do?

b. Create ODBC Connection to SQL and link the database to SQL Server. I
am curious ... because SQL
is linking the databases, can I run stored procedures in SQL to join column types to my project.

I am just curious. I thank everyone in this forum for there assistance.

Happy Day and Happy Coding,
edb

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much...
2
by: Salad | last post by:
OS = WinXP & Win98. Access = A97 & AXP Q1) Where can I find the VFP ODBC driver at Microsoft. I have been working developing an app in Access...
4
by: Salad | last post by:
When I connect to FoxPro tables it takes about 1 1/2 minutes to view the records in a small table. Is this normal ODBC behavior?
14
by: John Spiegel | last post by:
Hi all, I'm missing something, probably stupid, on connecting to a SQL Server database from an aspx file. I haven't really done much w/ SQL...
3
by: Amar | last post by:
I have a abc.PRG file in visual foxpro 8.0. I can run this file using visual foxpro environment and it creates a table X.dbf in the same folder...
3
by: Burak Gunay | last post by:
Hello, I am trying to connect to a visual fox pro table from my asp.net page. I dragged an odbc connection and set it to a visual fox pro...
2
by: Toco | last post by:
Hello. I have app written in C# that we are testing. The executable is shared on our network. The method we are testing is a call to a foxpro...
3
by: Salad | last post by:
Is it the rule that any table that you want to use via ODBC must be a UNIQUE record? And if you want any speed associated with the table it...
7
by: z71mdridin | last post by:
I have an asp.net website that uses Form authentication to authenticate users. I need to provide users with a report based on FoxPro data that...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.