![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
wcf
xjq778
这个作者很懒,什么都没留下…
展开
-
wcf 客户端与服务器之间在传递DataTable问题
Wcf,客户端与服务器之间在传递DataTable(由于数据库字段不确定暂时用DataTable而不是用实体对象传递)时,发现有的DataTable可以直接传递没有问题 解决方案: DataTable必须设置名称。 例如:DataTable dt = new DataTable("Table1"); 这里的“Table1”必须有,但是命名随意,这个缺少就会序列化报错,而且错误原因会不明,显转载 2015-07-24 16:42:17 · 696 阅读 · 0 评论 -
WCF REST 上传图片下载
服务器端 服务接口 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ServiceModel; using System.IO; using System.ServiceModel.Web; namespace EFTest.Te转载 2015-09-17 17:06:13 · 859 阅读 · 0 评论