473,383 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

XmlDataDocument->DataSet->DataGrid: MDAC required??


Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!
Jul 21 '05 #1
3 1501
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to MS Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!

Jul 21 '05 #2
Gabriel,

The thing here is that since my application will be a commercial application
and will be used by many people around the US, I really do not want to
install any "pre-requisites" unless are needed (of course .NET framework is
required) and MDAC 2.7 is required in some cases and some Windows 98, or Me o
2000 do not have it installed in the original setup.

So that is why :D

What do you think?

Thanks!!

"LOZANO-MORÃN, Gabriel" wrote:
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to

MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!


Jul 21 '05 #3
Gabriel,

The thing here is that since my application will be a commercial application
and will be used by many people around the US, I really do not want to
install any "pre-requisites" unless are needed (of course .NET framework is
required) and MDAC 2.7 is required in some cases and some Windows 98, or Me o
2000 do not have it installed in the original setup.

So that is why :D

Thanks!!

"LOZANO-MORÃN, Gabriel" wrote:
Technically yes since there is no reference to the MDAC runtime libraries in
the assemblies you will use but a Windows without MDAC :-) ?

Gabriel Lozano-Morán

"Vico" <Vi**@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...

Hi!

I have a windows forms application and , what I basically do is:

1.- Instanciate a DataSet.
2.- Instanciate a XMlDataDocument attaching the DataSet to it.
3.- Load XmlDataDocument with a local XML document (C:\mydoc.xml)
2.- Bind it to a Datagrid.
That is all!

My app doesn't need to access SQL Server, or any other ODBC, not even to

MS
Access....

Is MDAC still required on the target machine in order for this to work?

I have not tried it on a machine that does not have MDAC installed so I
don't know if it works....

Thanks in advance.

--
I love .NET!


Jul 21 '05 #4

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

Similar topics

2
by: duncan | last post by:
Hi I an a mebie to XML / vb.net and I am struggling. I am developing a web base applcation using XML to link to its database so. Here is the XML I want to load into to a datagrid. The...
0
by: Brendan Reynolds | last post by:
I have a web service that takes the XML representation of a dataset and uses XSLT to transform it to the format required to open a disconnected ADODB recordset on the XML, and returns the...
1
by: Matthew Baskey | last post by:
Hello, I need to reorder a Typed DataSet in memory using an Xsl Transform. Most of the examples use stream which write to the hard disk or xml file. I want to do this in memory and then write...
0
by: gilly3 | last post by:
Reposting to a more relevant group. I am passing a generic dataset into a new XMLDataDocument and then parsing the XML with XSLT. The idea being that I can parse any dataset with the same xslt,...
1
by: Kevin Blakeley | last post by:
I know this was just posted but I did not want this message to get lost in the other thread as it's slightly different. Yes I want to export my dataset to excel for my clients, but I don't want...
3
by: Mae | last post by:
Dear All, I have a problem here, I'm using C# Webform calling a webservices. The webservices return me a XMLnode, using this XMLnode I want to convert it to dataset so I can bind to the...
4
by: bep | last post by:
Hello What is the best way to sort an XmlDocument for display in a DataGrig? I can use Xpath with an XpathExpression, and a XpathNavigator. But this XpathNavigator object is of no use to me, I...
3
by: P K | last post by:
Hello, I have a dataset which is already loaded with data in one table. so dataset.tables("data") exists and has data. Now, I have to add another table to the dataset. The source for this...
1
by: sani723 | last post by:
i am fetching some data from SQL and filling it through the Adapterto in DataSet, and then passing that DataSet to the XmlDataDocument Object, like XmlDataDocument XMLDoc = new...
4
by: =?Utf-8?B?VG9yZW4gVmFsb25l?= | last post by:
Hi, I have an XML file that I was hoping to use as a database Here is the code that I have copied that should display the data namespace File_Generation_System { public partial class vrholds :...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.