摘要: 问题原因:由于版本更新或者是版本更换导致的CSharp文件无法找到的错误。解决办法:先去C:\Program Files\Microsoft SDKs\找到Silverlight安装路径查看Silverlight路径下的版本。假如文件是V3.0就说明是3.0版本的。假如是4.0就是4.0版本的 然后去项目中打开名字不是.WEB的那个文件夹,里面有一个项目文件。文件类型为Visual C# Project file。。用记事本打开之后可以看到项目加载的信息。从中搜索到 <import>这一项 例如<Import Project="$(MSBuildExtensions 阅读全文
posted @ 2012-03-11 23:59 Tiny&zzh 阅读(1919) 评论(0) 推荐(1)
摘要: using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using ContentSql.Global;//GetImage//Equipmen 阅读全文
posted @ 2012-02-08 18:59 Tiny&zzh 阅读(366) 评论(0) 推荐(0)
摘要: 笔者的男装网店:http://shop101289731.taobao.com。冬装,在寒冷的冬季温暖你。新品上市,环境选购=================================不华丽的分割线===============================最近都在学习silverlight的sqlserver2008服务。wcf调用经常要打开server management stdio来查看,很繁琐。。后来发现原来vs2010提供给我们接口来添加数据库服务引用。于是就拿过来用用,但是我的电脑不知道为什么总是刷新不出来服务器名称,所以很纠结,在网上搜索半天之后终于找到了。原来,在vs 阅读全文
posted @ 2012-01-02 01:42 Tiny&zzh 阅读(2032) 评论(0) 推荐(1)
摘要: 构建一个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 阅读全文
posted @ 2011-12-10 18:04 Tiny&zzh 阅读(695) 评论(0) 推荐(0)