暂无个人介绍
可以按照区域语言修改排序规则。 class Program { static void Main(string[] args) { string[] arr = { "趙(ZHAO)", "錢(QIAN)", "孫(SU...
参考: http://www.cnblogs.com/zxx193/p/3605238.html?utm_source=tuicool http://www.cnblogs.com/freeliver54/p/3430956.
上周码程序的时候碰到个问题,因为设计上的约束,一个方法接受的参数只能为List类型,然而该方法需要处理的真实数据则是确定的List。然而C#不允许显示的直接转换类型,并且两个方向上都不可以操作。这个问题让我爆了一会儿,最后在MSDN上找到了一个OfType的拓展方法可以完成这件事。
一、离线注册办法 1:客户将唯一机器码发给开发人员: 2:开发人员使用SoftReg 类根据唯一机器码生成唯一注册码,发给客户 3:客户收到机器码后,再软件注册界面,输入机器码,点击注册,使用SoftReg 类获取当前的机器码与用户输入机器码是否一致。
C#HttpHelper官方产品发布与源码下载---苏飞版 http://www.sufeinet.com/thread-3-1-1.html 在C#用HttpWebRequest中发送GET/HTTP/HTTPS请求 http://zhoufoxcn.
通过HttpWebRequest在后台对WebService进行调用 http://www.cnblogs.com/macroxu-1982/archive/2009/12/23/1630415.html http://www.
将背景颜色改成你想要的背景颜色。 将色调改为:85。饱和度:123。亮度:205->添加到自定义颜色->在自定义颜色选定点确定 就搞定了!
转自http://kkworms.blog.51cto.com/540865/558477 今天在windows server 2008 R2上安装了FTP,安装过程如下,然后添加内置防火墙设置,设置后发现本地可以访问FTP,但其它计算机无法访问,关闭防火墙后都可访问,说明还是防火墙设置的问题。
#ordertrack td { vertical-align: top; } table { empty-cells: show; ...
参考: http://blog.sina.com.cn/s/blog_6e0401aa0100mdsi.html http://jingyan.baidu.com/article/d45ad1488e87a569552b808e.
转载:http://www.cnblogs.com/fnng/archive/2011/08/11/2135440.html 第一步: 新建一个项目:点击新建按钮就行了。 在打开的窗口中填写你项目名,顺便也把你要测试WebService地址也一块填写的吧! http://www.webservicex.net/WeatherForecast.asmx?wsdl 第二步: 创建一个测试计划,右键点击Request---Add to TestCase 然后会弹出对话框提示,点 确定----确定-----OK 计划就创建成功了。
转载:http://blog.csdn.net/qqstrive/article/details/8229601 通过webrequest的post传输数据的时候,如果url里面的参数带有‘%’,那么在取地址栏的参数的时候会出现空指针,或者是错误。
在线XML、JSON数据互转 http://www.bejson.com/go.php?u=http://www.bejson.com/xml2json 站长工具 http://tool.oschina.
转载:http://www.cnblogs.com/wintersun/archive/2012/09/14/2684708.html 在Visual Studio 2012中轻松把JSON数据转换到POCO的代码,首先你需要安装Web Essentials 2012。
转载:http://www.cnblogs.com/aaa6818162/archive/2012/06/21/2557879.html EmitMapper是一个开源实体映射框架,地址:http://emitmapper.codeplex.com/。
转载:http://www.cnblogs.com/aaa6818162/p/4421305.html 问题现象 IIS应用程序池崩溃(Crash)的特征如下: 1. 从客户端看,浏览器一直处于连接状态,Web服务器无响应。
转载:http://www.cnblogs.com/ganqiyin/archive/2013/02/18/2915491.html 事件:DataGridView验证单元格输入的是数字,DataGridView源数据是从数据库读取的。
转载:http://www.cnblogs.com/ldp615/archive/2011/08/01/distinct-entension.html 只可惜linq默认不支持.Distinct(p => p.ID); 试想如果能写成下面的样子,是不是更简单优雅: var p1 = products.Distinct(p => p.ID); var p2 = products.Distinct(p => p.Name); 使用一个简单的 lambda 作为参数,也符合 Linq 一贯的风格。
转载:http://www.cnblogs.com/ahdung/p/3953431.html 说明:【干净】指的是客户端在捕获WebService(下称WS)抛出的异常时,得到的ex.Message就是WS方法中抛出的异常消息,不含任何“杂质”。
转载:http://www.cnblogs.com/ahdung/p/3953431.html 说明:【干净】指的是客户端在捕获WebService(下称WS)抛出的异常时,得到的ex.Message就是WS方法中抛出的异常消息,不含任何“杂质”。
转载:http://www.cnblogs.com/zq281660880/archive/2012/09/26/2704836.html 今天在使用linq处理一下需求时碰到一点小问题,特此记录。 需求: 按照品名相同的进行汇总,数量相加、表号按分号分割显示 1、组织...
参考: Postman 是一个非常棒的Chrome扩展,提供功能强大的API & HTTP 请求调试。 它能够发送任何类型的HTTP requests (GET, HEAD, POST, PUT..),附带任何数量的参数+ headers。
.NET Transactional File Manager http://transactionalfilemgr.codeplex.com/ 对文件系统操作,比如copy, move, delete ,加入事务支持。
转载:http://www.cnblogs.com/hangwei/p/4249406.html 本文主要收集IIS在发布站点过程中遇到的错误,并提供解决办法。并亲测可行。如果您也在使用IIS发布站点的过程中遇到了一些问题,欢迎留言提问。
转载:http://www.cnblogs.com/lyhabc/p/3691555.html http://www.yiibai.com/mysql/ 我的MYSQL学习心得(一) 简单语法 我的MYSQL学习心得(二) 数据类型宽度 我的MYSQL学习心得(三) 查看字...
转载:http://www.cnblogs.com/luluping/archive/2012/08/09/2629515.html 在之前只知道SqlServer支持数据批量插入,殊不知道Oracle、SQLite和MySql也是支持的,不过Oracle需要使用Orace.DataAccess驱动,今天就贴出几种数据库的批量插入解决方法。
来源:http://i.cnblogs.com/EditPosts.aspx?opt=1 读写Offic格式的文档,大家多少都有用到,可能方法也很多,组件有很多。这里不去讨论其他方法的优劣,只是向大家介绍一款开源的读写word文档的组件。
转载:http://user.gw-ec.com/login/safelog/redirectt?session=so%2f%2bSjyZURMOe54xgk%2bUhL2CgGqDjOKEbYwZSL9ezrL%2bfXi0p6o6nQ%3d%3d&url=http%3a%2f%2fgts.
IIS允许下载".config"文件 Config文件是web的配置文件,默认是不允许下载的,就算在MIME中配置“application/octet-stream”,也是下载不了。当然出于安全考虑Config文件应是不允许下载会稳妥一些。
教程 http://jingyan.baidu.com/article/a3a3f811ee87268da2eb8ae7.html 参考: http://blog.chinaunix.net/uid-22477616-id-1773828.
资源: http://jingyan.baidu.com/article/ca41422fda813f1eae99edf4.html http://jingyan.baidu.com/article/454316abb12e58f7a6c03a61.html http://jingyan.baidu.com/article/fd8044fa8820955031137a2c.html 在我们日常办公中,偶尔会需要访问一些局域网中服务器的共享资源。
我们平时在搭建网站时,企业网站难免会做一些文档提供给用户下载,有时候我们会遇到提供EXE文件给客户下载时 客户打开文档链接时提示“无法找到该网页”也就是说我们的IIS环境不能下载EXE文件; IIS网页打开.bat文件时提示HTTP 错误 404 - 文件或目录未找到。
来源:http://git.oschina.net/kuiyu/dotnetcodes/tree/master/DotNet.Utilities
http://files.cnblogs.com/files/zfanlong1314/exclude%E6%B5%8B%E8%AF%95.zipxcopy 提供了 /EXCLUDE: 参数用于在复制时排除某些文件,但是 xcopy 本身的帮助信息不够明确,特给大家提供几个应用实例: 首先看一下执行 xcopy /? 得到的帮助信息:/EXCLUDE:file1[+file2][+file3]... 指定含有字符串的文件列表。
参考: http://www.cnblogs.com/benwu/archive/2009/10/24/1589096.html http://www.cnblogs.com/xuefeng1982/archive/2009/11/09/1598956.
来源:http://www.cnblogs.com/wolf-sun/p/3480104.html 在做winform项目中,数据控件DataGridView的使用多多少少是会用到的,如果不设置它的属性,默认情况下是不会自适应宽度的,你想查看某项的数据,就不得不将标题栏拖来拖去,挺烦的。
转载:http://www.cnblogs.com/wolf-sun/p/4319728.html 写在面前 最近查看写的设计模式系列文章,发现太不方便了,特在此弄一个导航页,方便查看。
C# WinForm 取消DataGridView的默认选中Cell 使其不反蓝 http://www.cnblogs.com/freeliver54/archive/2009/02/16/1391325.
在搜了一些相关资料原来WebBrowser使用的是IE的兼容模式进行浏览(IE7模式)。 建议:先添加注册表中,然后使用注册表编辑器导出功能,产生reg注册文件;方便日后使用。 Winform WebBrowser引用IE版本问题 http://www.
在写程序的时候,有时需要对注释进行换行.如下: class Program { static void Main(string[] args) { Msg(); } /// /// 这是第一行 ...
转载:http://www.cnblogs.com/weekzero/p/3504513.html winform的窗体中,有时候需要设置默认焦点,有时候需要取消默认焦点。 设置默认焦点,最简单的方法就是设置这个控件的tabIndex,例:textBox1.
转载:http://blog.csdn.net/gwblue/article/details/38865525 将一个做好的Excel模版,通过程序填上数据然后打印出来这个需求有两种方法一种是通过代码打开Excel模版然后填入数据然后再打印。
EF 通用数据层父类方法小结 转载:http://www.cnblogs.com/yq-Hua/p/4165344.html MSSql 数据库 数据层 父类 增删改查: using System; using System.
Html在线美化压缩/转js - 在线工具 地址:http://tool.lu/html/ 1、美化效果: 2、转化字符串拼接
参考1:http://www.lanrentuku.com:8081/js/table-188.html# 参考2:http://www.cnblogs.com/xueming/archive/2012/03/21/VerticalAlign.
转载:http://blog.csdn.net/fwj380891124/article/details/8819926 在.NET中,所有的服务器控件提交到服务器的时候,都会调用__doPostBack这个函数,所以灵活运用这个函数对于我们的帮助还是很大的.
rdlc报表动态生成实例 http://blog.csdn.net/fwj380891124/article/details/8803844 rdlc报表动态生成公共类 http://blog.csdn.net/fwj380891124/article/details/8804802
通信工具IM控件: http://www.cnblogs.com/hubro/p/4316315.html 360安全卫士及QQ部分控件经典皮肤下载 http://www.sufeinet.
转载:http://blog.csdn.net/kevonz/article/details/5078432 using System; using System.Collections.Generic; using System.
if (this.lsvSortingHeadList.Items.Count > 0) { this.lsvSortingHeadList.