Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbf to xml
Message
De
30/11/2006 00:34:21
 
 
À
29/11/2006 21:59:24
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01173564
Message ID:
01173585
Vues:
9
Ryan,

Read the data into a Typed DataSet based on your .xsd. Then simply use the WriteXml() method of the DataSet.
string TestConnection = "server=(local);database=MyDataBase;uid=sa;pwd=MyPassword";
SqlDataAdapter da = new SqlDataAdapter("select * from bob", this.TestConnection);
MyDataSet ds = new MyDataSet();
da.Fill(ds, "MyTable");
ds.WriteXml("MyData.xml");
~~Bonnie



>Hi to All,
>
>
> how to export dbf file to xml data file i have a schema(xsd file) for the xml.
>
>TIA
>ryan.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform