上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: XPath语法在C#中使用XPath示例XPath可以快速定位到Xml中的节点或者属性。XPath语法很简单,但是强大够用,它也是使用xslt的基础知识。示例Xml:?100this is a black cat80this is a white cat80this is a yellow cat1... 阅读全文
posted @ 2012-10-15 15:22 王永华 阅读(162) 评论(0) 推荐(0) 编辑
摘要: XPath 是XML的查询语言,和SQL的角色很类似。以下面XML为例,介绍XPath 的语法。 Empire Burlesque Bob Dylan 10.90 Hide your heart Bonnie Tyler 9.90 Greatest Hits Dolly Parton ... 阅读全文
posted @ 2012-10-11 15:54 王永华 阅读(275) 评论(0) 推荐(0) 编辑
摘要: C#中的三种委托方式:Func委托,Action委托,Predicate委托。Func,Action,Predicate全面解析首先来说明Func委托,通过MSDN我们可以了解到,Func委托有如下的5种类型: (1) *delegate TResult Func(); C#中的三种委托方式:Fun... 阅读全文
posted @ 2012-09-29 11:20 王永华 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 1:使用委托的方法: delegate int MyDelegate(int i); static void Main(string[] args) { MyDelegate mydel = new MyDelegate(a); int b=myde... 阅读全文
posted @ 2012-09-29 10:21 王永华 阅读(172) 评论(0) 推荐(0) 编辑
摘要: C#中使用ref、out、params例子2010-09-1511:57:40|分类:c#学习笔记|标签:refout传值传址使用|字号订阅方法的参数传递有四种类型:传值(by value),传址(by reference),输出参数(by output ),数组参数(by array)。传值参数无... 阅读全文
posted @ 2012-09-28 09:39 王永华 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1:WCF入门网站,我学啦,WCF很快搞定 网址:1:http://blog.csdn.net/zh_bing/article/details/7449776 (创建第一个WCF服务) 2: http://blog.csdn.net/zh_bing/article/detai... 阅读全文
posted @ 2012-09-27 18:23 王永华 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 签出图:tf undo /workspace:WIN-IKCTSTM1JCF;wangyonghua $/ETS3/ETSService/FileUpload/FileUpload.sln成功图: 阅读全文
posted @ 2012-09-27 11:21 王永华 阅读(229) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { List list = new List(); using (SqlConnection conn = new SqlConnection(connectStr)) { SqlCom... 阅读全文
posted @ 2012-09-25 16:45 王永华 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1:序列化类,需要引用命名空间:System.ServerModel.Web 和System.Runtime.Serializationpublic class JOSNHelper { public static string GetJosn(T obj) { DataContractJsonSe... 阅读全文
posted @ 2012-09-25 14:24 王永华 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Windows Server AppFabric 缓存(微软分布式缓存解决方案)主要介绍一下Windows Server AppFabric特点,详细的介绍及代码参照MSDN,这里就不多此一举了。(同类产品Memcahed) Windows Server AppFabric 扩展了 Windows ... 阅读全文
posted @ 2012-09-20 17:21 王永华 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页