如何将Paradox表导出到xml文件啊?
解决方案 »
- 新手请教!!!
- 将Excel的数据插入到access数据库
- Winform中OutlookBar的菜单添加皮肤后变形。
- 请问怎样把一个数值保存到TXT文本里边去
- C# MessageBox的问题
- crystal report
- 我在登陆页用cookies保存登陆信息后,为什么在第三次打开时登陆信息就没了?请问大家知道是什么原因吗?
- 怎样取得web页面上的全部对象?
- 写了一个进度条的程序,直接显示结果,怎么显示递增的过程呢
- 使用struct遇到的问题
- winform的datagrid问题!当datagrid绑定dataset后能否改变它的hearder名
- 如何部署软件使之在没有升级.NET的系统上正常运行阿?
but in sql server
you should created a dataset and fill the dataset with data
then use codes like the following lines:------------------------------------------------private void WriteXmlToFile(DataSet thisDataSet) {
if (thisDataSet == null) { return; }
// Create a file name to write to.
string filename = "myXmlDoc.xml";
// Create the FileStream to write with.
System.IO.FileStream myFileStream = new System.IO.FileStream
(filename, System.IO.FileMode.Create);
// Create an XmlTextWriter with the fileStream.
System.Xml.XmlTextWriter myXmlWriter =
new System.Xml.XmlTextWriter(myFileStream, System.Text.Encoding.Unicode);
// Write to the file with the WriteXml method.
thisDataSet.WriteXml(myXmlWriter);
myXmlWriter.Close();
}---------------------------------------------------hope this will help you