![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
我的C#
redlineren
这个作者很懒,什么都没留下…
展开
-
DataGridView分页
三个控件:DataGridView,BindingNavigator,BindingSource/**//// /// 实现分页定义变量 /// /// private int pageSize = 0; private int nMax = 0; private int pageCo原创 2008-05-03 09:34:00 · 1057 阅读 · 0 评论 -
导出Excel表
using System;using System.Collections.Generic;using System.Text;using System.Data.OleDb;using System.Windows.Forms;using System.Data;using Microsoft.Office.Interop.Excel;namespace BoyangMIS...{原创 2008-05-03 09:43:00 · 445 阅读 · 0 评论 -
电话号码/身份证号码正则表达式
在做项目时常常用到判断电话号码的正则表达式,写了一个,可验证如下27种格式:1108888888888888888888888-12388888888-234350871-8888888-123023-88888888-2343586-0871-8888888-1238888888_12388888888_234350871_8888888_123023_88888888_2343586_08原创 2008-05-03 09:16:00 · 3899 阅读 · 1 评论 -
简单操作INI文件
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Windows.Forms;using System.Runtime.InteropServices;//调用APIusing System.Threading;//Monitor//using System.原创 2008-05-03 09:38:00 · 378 阅读 · 0 评论 -
简单的连接数据库
/**/////App.config 文件内容xml version="1.0" encoding="utf-8" ?>configuration > connectionStrings > add name ="OLEDB" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:C#BoyangMISinD原创 2008-05-03 09:53:00 · 430 阅读 · 0 评论 -
SQL事务机制
DateTime indate = CheckedDateFunction(); string connstr = Connectionstr.ConnectionString; OleDbConnection oleconn = new OleDbConnection(connstr);原创 2008-05-03 10:20:00 · 412 阅读 · 0 评论 -
KeyCode
Examples: Single Byte: .71, Exp. character G; Double Byte:00.71, Exp. key Home. Table 1: Single Byte. Second Byte Va原创 2008-05-03 09:21:00 · 816 阅读 · 0 评论 -
.Net socket实现简单的聊天
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Net;using System.Net.Sockets;原创 2009-07-27 09:47:00 · 883 阅读 · 0 评论 -
JS+Ajax+Jquery实现页面无刷新分页以及分组 超强的实现 加上你的CSS完全可以与EXT媲美哦
GroupText <!-- var ecid = 100001; var jpstr = ""; var pageSize = 8; // --> 活动名称 发送方原创 2009-08-25 11:26:00 · 1299 阅读 · 1 评论