473,473 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

writeXmlSchema to MS-Access

Hi, I would like to know how should I proceed for the following

I got a dataset and datatable from SQL database displayed in a datagrid
How do I create a Table now in MS_Access base on my Table displayed

Like I want to export this datagrid table design and data to an ms-access
database

I will have previously create a blank database in my bin folder

Thank for your help.

Nicolas
Nov 20 '05 #1
2 897
Nicolas wrote:
Hi, I would like to know how should I proceed for the following

I got a dataset and datatable from SQL database displayed in a datagrid
How do I create a Table now in MS_Access base on my Table displayed

Like I want to export this datagrid table design and data to an ms-access
database

I will have previously create a blank database in my bin folder


Hi Nicolas,

Creating Access-databases is possible with ADOX.
http://support.microsoft.com/?scid=317867

Creating tables in Access-Databases:
http://support.microsoft.com/?scid=252908

You might create a column in Access for each column in your DataGrid and
export the data afterwards.

Cheers

Arne Janning
Nov 20 '05 #2
Hi Nicolas,

A little addition on the message from Arne,

For the empty blank Access database you would use ADOX with the link Arne
provided.

However for creating the tables you can use as well normal ADONET with
Command.ExecuteNonQuerry

And than the OleDbDataAdapter.update while the rowstates are all Added

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps?

Cor
Nov 20 '05 #3

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

Similar topics

9
by: CY FOK | last post by:
Hi I am planning to open a software company to develop client-server apps and web applications for my client. Now, i am in a difficult situation to determine what is the best platform i should use...
0
by: Jose Antonio | last post by:
Hi, I am writing an app which reads a SQL Server schema, configures a dataset with that information and finally writes the xsd schema to a file. The problem is that the resulting xsd file...
3
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.64bit This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.64bit as an unmoderated...
18
by: Rob R. Ainscough | last post by:
MS Visual Studio Ad contained in VS Magazine. Two developers in "hip" clothing diagramming out a huge flow chart on a beach. I could NOT stop laughing at the stupidity of the ad -- "Let your...
3
by: MSSQLServerDeveloper | last post by:
I have a simple vb.net program that creates an xmlschema using the dataset method writexmlschema (see #1). It creates a file (see #2), but I would like a file that looks like #3 - #3 is DIFFERENT...
0
by: WStoreyII | last post by:
i have used the following code(which is straight from the msdn) to try this : how ever this and anyother method that i have tried only give me a An unhandled exception of type...
1
by: Ted | last post by:
I managed to get it installed OK, along side MS Visual Studio 2005 (with which I received it). During the install, I made sure I installed everything. I have developed a number of applications...
0
radcaesar
by: radcaesar | last post by:
I was saving the schema of a dataset using Dataset.WriteXmlSchema. I am getting the result like this <?xml version="1.0" standalone="yes"?> <xs:schema id="NewDataSet" xmlns=""...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.