C#
文章平均质量分 67
cfsht
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
连接数据库
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _02连接数据库{ class Program原创 2016-11-05 23:07:31 · 264 阅读 · 0 评论 -
单例模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 单例模式{ class SingleModel { private SingleModel()原创 2016-11-10 22:31:39 · 493 阅读 · 0 评论 -
中文转拼音的实现,利用Visual Studio International Pack库
C#中实现中文转拼音的功能在此之前,我们需要一个安装包,这个用来实现中文到拼音的转换:Microsoft Visual Studio International Pack 1.0 SR1 :http://www.microsoft.com/zh-cn/download/details.aspx?id=15251下载好安装包,解压后可以看见如下图:原创 2016-11-15 23:01:21 · 1116 阅读 · 0 评论 -
委托
// 委托的使用实例,排序举例using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _13自定义排序{ public delegate int MyCompareHand原创 2016-11-16 23:31:42 · 350 阅读 · 0 评论 -
匿名方法
// 匿名方法的使用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _14匿名方法{ public delegate int GetSumDelegate(int mi原创 2016-11-17 00:39:02 · 426 阅读 · 0 评论 -
linq查询的模拟
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _15linq查询的模拟{ public delegate bool CheckDelegate(int num);原创 2016-11-17 07:54:07 · 323 阅读 · 0 评论 -
MVC
MVCUI层(表现层)1、采集用户输入2、将数据以不同的方式展示给用户。BLL(业务逻辑层)主要是处理各种和当前业务相关的操作DAL(数据访问层)只负责访问数据库,将用户传递过来的数据在数据库中执行,将执行后的数据返回给用户数据库原创 2016-11-19 14:04:25 · 335 阅读 · 0 评论 -
并行编程
using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks;namespace Parallel{原创 2016-11-21 18:35:14 · 251 阅读 · 0 评论 -
网络编程
Socket 网络编程Serverusing System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading.Tasks;namespace Server{原创 2016-11-21 20:30:19 · 264 阅读 · 0 评论 -
Parallel.For & Parallel.ForEach & Parallel.Invoke
using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;using System.Threadi原创 2016-12-14 22:56:03 · 410 阅读 · 0 评论 -
异步委托调用
using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Remoting.Messaging;using System.Text;using System.Threading;using System.Threading.Tasks;namespac原创 2016-12-16 12:52:14 · 315 阅读 · 0 评论 -
城市级联
//--------------------------------------------配置文件----------------------------------------------------------------- // ---------------------------------------原创 2016-11-10 21:41:16 · 585 阅读 · 0 评论 -
执行sql语句
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _03执行一条Sql语句{ class Program原创 2016-11-05 23:08:18 · 301 阅读 · 0 评论 -
连接池的使用
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _05连接池原创 2016-11-06 11:12:43 · 269 阅读 · 0 评论 -
注册(带验证用户名)
// -------------------------------Program.cs--------------------------------------------------------------using System;using System.Collections.Generic;using System.Linq;using System.Threading原创 2016-11-06 13:18:48 · 474 阅读 · 0 评论 -
登陆
-----------------------------配置文件--------------------------------------------------------------------------------------------- -------------------------原创 2016-11-06 14:16:13 · 317 阅读 · 0 评论 -
参数化查询
// ---------------------------------------配置文件---------------------------------------------------------------------------- //-----------------------原创 2016-11-06 15:08:55 · 427 阅读 · 0 评论 -
数据查询--参数化查询
----------------------------------配置文件------------------------------------------------------------------------------ ---------------------------------Pr原创 2016-11-06 15:57:53 · 703 阅读 · 0 评论 -
SQLHelper
//----------------------------------------配置文件-------------------------------------------------------------------------- //-----------------------------原创 2016-11-06 17:19:01 · 305 阅读 · 0 评论 -
ExcuteScalar的使用
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Tasks;// ExcuteScalar 一般和聚合函数一起使用namespace _06Exc原创 2016-11-06 11:46:21 · 1562 阅读 · 0 评论 -
SQLHelper--四种方法完整版
//--------------------------------------1 配置文件----------------------------------------------------------------------------------- //-----------------原创 2016-11-06 20:14:48 · 3436 阅读 · 1 评论 -
版本控制系统---SVN
SVN的学习多人合作开发(协作开发)时间机器,记录每一次修改介绍: SVN就是一个源代码管理器(可以管理任何文件,不只是代码)。 自己开发也可以使用SVN, 可以回到某个版本。源代码管理器: SVN, cvs,git,vss,tfs原创 2016-11-07 19:27:27 · 448 阅读 · 0 评论 -
Web一般处理程序
using System;using System.Web;/// /// 一般处理程序就是一个类,这个类就是我们自己编写的一段服务器代码,用来处理特定的用户请求/// public class Handler : IHttpHandler { // HttpApplication对象的ProcessRequest(HttpContext cont原创 2016-12-16 18:47:34 · 498 阅读 · 0 评论
分享