会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bobo-bobo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
下一页
2015年1月30日
C# DataTable分页函数
摘要: /// /// 对DataTable进行分页,起始页为1 /// /// /// /// /// public static DataTable ...
阅读全文
posted @ 2015-01-30 10:01 bobo-bobo
阅读(671)
评论(0)
推荐(0)
2014年12月26日
C# DataGridView转DataTable
摘要: public static DataTable ToDataTable(this DataGridView dataGridView, string tableName = null) { DataGridView dgv = dataGridVi...
阅读全文
posted @ 2014-12-26 16:28 bobo-bobo
阅读(2071)
评论(0)
推荐(0)
2014年12月25日
C# 中删除控件的事件的方法类
摘要: 方法一:代码 /// /// 删除指定控件的指定事件 /// /// /// public void ClearEvent(System.Windows.Forms.Control control, stri...
阅读全文
posted @ 2014-12-25 10:24 bobo-bobo
阅读(6756)
评论(0)
推荐(0)
2014年12月22日
SQL 查询存储过程
摘要: select distinct name from syscomments a,sysobjects b where a.id=b.id and b.xtype='p' --and text like '%my_sp%'
阅读全文
posted @ 2014-12-22 10:36 bobo-bobo
阅读(618)
评论(0)
推荐(0)
2014年12月12日
SQL 查出一张表中重复的所有记录数据
摘要: 1、在面试的时候碰到一个 问题,就是让写一张表中有id和name 两个字段,查询出name重复的所有数据,现在列下:select * from xi a where (a.username) in (select username from xi group by username having...
阅读全文
posted @ 2014-12-12 14:51 bobo-bobo
阅读(416)
评论(0)
推荐(0)
C# 多进制转换
摘要: public class Converter { private static String keys = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";//编码,可加一些字符也可以实现7...
阅读全文
posted @ 2014-12-12 14:14 bobo-bobo
阅读(336)
评论(0)
推荐(0)
2014年12月11日
C# GUID生成
摘要: System.Guid.NewGuid().ToString()
阅读全文
posted @ 2014-12-11 11:18 bobo-bobo
阅读(145)
评论(0)
推荐(0)
C# DataGridView搜索
摘要: public static bool SearchDGV(DataGridView DGV, string strTxt, bool UpSearch = true, bool Show = false) { int row = DGV.Rows....
阅读全文
posted @ 2014-12-11 08:58 bobo-bobo
阅读(2001)
评论(0)
推荐(0)
2014年12月10日
C# DataGridView插入DB
摘要: public static bool ContrastColumns(DataColumnCollection co1, DataGridViewColumnCollection co2) { bool aa = false; ...
阅读全文
posted @ 2014-12-10 15:54 bobo-bobo
阅读(328)
评论(0)
推荐(0)
C# 扩展类
摘要: static class ClassExtension { public static string NullableToString(this object o) { try { r...
阅读全文
posted @ 2014-12-10 15:52 bobo-bobo
阅读(127)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
下一页
公告