会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
鱼头出品 必属精品
博客园
首页
新随笔
联系
管理
订阅
2007年11月8日
DataSet将内容写成XML字符串,再用DataSet.ReadXML读回将会报“路径中具有非法字符串的错误”。
摘要: 解决的方案是: //采用XMLTextWriter将DataSet的内容写入到Stream中 System.IO.MemorySystem stream = new System.IO.MemorySystem(); XMLTextWriter writer = new XMLTextWriter(stream,Encoding.UTF8); ds.Table[0].WriteXML(writer...
阅读全文
posted @ 2007-11-08 10:33 老鱼头
阅读(2397)
评论(0)
推荐(0)
编辑
公告