上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: .NET反射的定义:审查元数据并收集关于它的类型信息的能力。元数据是一种二进制信息,用以对存储在公共语言运行库可移植可执行文件 (PE) 文件或存储在内存中的程序进行描述。将您的代码编译为 PE 文件时,便会将元数据插入到该文件的一部分中。而将代码转换为 Microsoft 中间语言 (MSIL) ... 阅读全文
posted @ 2014-02-17 15:51 哲夫 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 写2个项目,一个console,一个web调用方:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;namespace ConsoleWSTest{ ... 阅读全文
posted @ 2013-11-26 11:02 哲夫 阅读(179) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.CodeDom;using Microsoft.CSharp;using S... 阅读全文
posted @ 2013-11-26 10:55 哲夫 阅读(135) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace ConsoleWSTest{ public class ZipUtil ... 阅读全文
posted @ 2013-11-26 10:53 哲夫 阅读(143) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;usi... 阅读全文
posted @ 2013-11-26 10:43 哲夫 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 最开始时,金融系统只有IBM这些大的公司来提供设备,象各种主机与终端等。在各个计算机设备之间,需要交换数据。我们知道数据是通过网络来传送的,而在网络上传送的数据都是基于0或1这样的二进制数据,如果没有对数据进行编码,则这些数据没有人能够理解,属于没有用的数据。起初的X.25、SDLC以及现在流行的T... 阅读全文
posted @ 2013-10-16 10:44 哲夫 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 说明:此样式一般在时间类型(datetime,smalldatetime)与字符串类型(nchar,nvarchar,char,varchar)相互转换的时候才用到.语句及查询结果:转换结果的相对应格式SELECT CONVERT(varchar(100), GETDATE(), 0): 05 16... 阅读全文
posted @ 2013-09-11 15:49 哲夫 阅读(160) 评论(0) 推荐(0) 编辑
摘要: XML文件的格式化方法如下: 1、打开需要格式化的XML文件,单击 “格式”-->“XMLlint 工具” 菜单项,在弹出的对话框中钩选 2、"将输出重新格式化并重新缩进,缩进值为: " 这一项(可输入4),然后单击 "解析" 按钮,此时格式化后的结果将出现在Output窗口,如果需要获得格式化后的... 阅读全文
posted @ 2013-08-27 15:40 哲夫 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 背景描述:一个C/S的程序,在调用一个B/S项目中的WebSerivce时,报错:The configuration section for Logging cannot be found in the configuration source经过搜索,得知B/S项目的配置文件有问题。解决方法:在B... 阅读全文
posted @ 2013-08-08 17:02 哲夫 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.dynamic ExpandoObject熟悉js的朋友都知道js可以这么写 :var t = new Object();t.Abc = ‘something’;t.Value = 243;?现在这个js动态语言的特性,我们也可以在c#中使用了,前提是将一个变量声明为ExpandoObject类... 阅读全文
posted @ 2013-07-26 11:15 哲夫 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页