Hi!
I'm using visual studio .net 2003, creating a windowsapplicat ion. I'm also
using a SQL server for storing and retrieving data.
Is it possible for me, using the application, to create a dbf file and store
data from a dataset or a dataview in this file? And if so how?
greatful for any help.
Best regards
Hans Årsjö 1 7084
Hi Hans,
You can create a FoxPro DBF using standard SQL DDL.
Create Table MyTable (cField C(10), iField I, nField N(10, 2), dField D)
Insert Into MyTable (cField, iField, nField, dField) Values ("One", 1, 1.00,
{01/01/2001})
You can also create a linked server in SQL Server and insert data that way.
Use the latest FoxPro and Visual FoxPro OLE DB data provider, downloadable
from http://msdn.microsoft.com/vfoxpro/downloads/updates .
sp_addlinkedser ver 'MyLinkedServer ', 'Description', 'VfpOleDb.1',
'C:\MyPath\'
Select * From MyLinkedServer. ..MyTable
--
Cindy Winegarden MCSD, Microsoft Most Valuable Professional ci************* *@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden
"Hans - DiaGraphIT -" <Ha************ @discussions.mi crosoft.com> wrote in
message news:10******** *************** ***********@mic rosoft.com... Hi!
I'm using visual studio .net 2003, creating a windowsapplicat ion. I'm also using a SQL server for storing and retrieving data.
Is it possible for me, using the application, to create a dbf file and store data from a dataset or a dataview in this file? And if so how?
greatful for any help.
Best regards Hans Årsjö This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Al |
last post by:
in order to implement sorting, paging in a datagrid, can I
have the datasource of the datagrid a datareader or it
must be a dataset then I create a dataview and make it a
datasource of the datagrid?
The reason I am asking this question is because I already
created a datagrid and made its datasource a datareader,
yet, could not implement sorting or paging. Any idea of
how to approach it .
thanks
|
by: Babu Mannaravalappil |
last post by:
Hi all,
I apologize for posting this question on two groups. I did not know
which one out of "XML" and "ADONET" groups, should I post this.
I would like to create an xsd file out of an existing dataset.cs file
that can be visually manipulated in the VS.NET Dataset Designer wizard
in VS.NET 2003 with .NET 1.1 and C#.
Here is the issue in more detail:
|
by: angela |
last post by:
Hi
I have two select statements, one pulling out the contacts and one
pulling out the primary address of the contact (if there is one)
And I would like to populate the dataset or rearrange a dataset so it's
arranged like this
contact
address
|
by: Luis Esteban Valencia |
last post by:
Hello Everyone,
Iam an intermediate ASP.Net programmer and iam facing a challenging task.
I have a table in MS-SQL server database called 'Members'. The table has
following fields...
mem_id integer primary key
lastname nvarchar(30)
firstname nvarchar(30)
|
by: enrique |
last post by:
Hello,
I simpy want to place a record ID into a session variable.
I know how to create session variables, I'm just can't figure out the syntax
for the record item when I'm working with a dataset. I'm using vb.
session(sessionName) = recordID 'from dataset or dataview
Thanks,
Enrique
| |
by: nospamthanks |
last post by:
Hi,
This is probably a very simple question, but it's held me up for the last
hour or two:
I have a simple xml document and schema - all I am doing for the moment is
loading the xml into a dataset built from the schema (primaryDriver1 in
code), which has an associated dataview.
A textbox (TextBox1) is bound to a field within the dataview:
|
by: Nathan Franklin |
last post by:
Hello Guys,
I have been trying to work this our for so long, but I just can't seem to
find the answer.
I am loading a datatable from a an access database using an
oledbdataadapter. I then assign the datatable.dataview to my
datagrid.datasource member so it will display my results..
I need to give the user an option to change the order of this data, I have a
|
by: Mike Collins |
last post by:
I am trying to export data from multiple tables in SQL Server to an XML file
so I can then import it to another database. It seems to be working fine for
exporting, but I am having trouble importing the file. Can someone show me
where I am going wrong. Even though I say the export is working, I am
including it below in case there is something in there that needs to be
changed. Also, the code I am including is VERY rough right now and will...
|
by: hemantpateria |
last post by:
Difference between dataset, dataview, data grid
|
by: AHayes |
last post by:
I've been searching online for a while now with no luck, so I'll try the friendly folk here.
_The Problem
I have a dataset/dataview that's getting its data from an XML file (which we're using sort-of like a database). I'm a little more used to contacting SQL servers instead of XML files, but have managed to read from the XML file and read/display the data. I thought I was able to change the data (from a form) as well, but realized the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |