摘要:
构建一个silverlight命名为ContentSql,确定之后选择添加wcf服务。右键ContentSql选择新建项-->silverlight WCF 服务。名字为UserServiceusing System;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.ServiceModel.Activation;using System.Data;using System.Configuration;using System.Data.SqlClient 阅读全文