会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hehehed
博客园
首页
新随笔
联系
订阅
管理
2017年7月11日
oracle数据库下使用NVL函数拼接结果集
摘要: SELECT NVL(COLUMN1,'') || NVL(COLUMN2,'') AS TEST from TABLE1
阅读全文
posted @ 2017-07-11 15:42 jep
阅读(513)
评论(0)
推荐(0)
2017年6月23日
table 固定列头方法(CSS)
摘要: table tbody { display: block; height: 195px; overflow-y: scroll; } table thead, tbody tr { display: table; width: 100%; table-layout: fixed; } table t
阅读全文
posted @ 2017-06-23 17:31 jep
阅读(2893)
评论(0)
推荐(0)
2017年6月19日
实现点击Form区域内除ListBox以外的其他地方,实现ListBox的隐藏,包括UserControl范围内,也包括UserControl之外Form之内
摘要: const int WM_PARENTNOTIFY = 0x210; const int WM_LBUTTONDOWN = 0x201; protected override void WndProc(ref Message m) { if (m.Msg == WM_LBUTTONDOWN || (
阅读全文
posted @ 2017-06-19 14:36 jep
阅读(219)
评论(2)
推荐(0)
List转DataTable
摘要: public DataTable IListOut(IList<excelModel> _list) { DataTable dtReturn = new DataTable(); PropertyInfo[] oProps = null; foreach (excelModel rec in _l
阅读全文
posted @ 2017-06-19 14:02 jep
阅读(113)
评论(0)
推荐(0)
Datatable转List
摘要: public class ConvertHelper<T> where T : new() { public static IList<T> ConvertToModel(DataTable dt) { // 定义集合 IList<T> ts = new List<T>(); // 获得此模型的类型
阅读全文
posted @ 2017-06-19 14:01 jep
阅读(139)
评论(0)
推荐(0)
2017年6月16日
DataGirdView中的数据转化为DataTable
摘要: public DataTable GetDgvToTable(DataGridView dgv) { DataTable dt = new DataTable(); for (int count = 0; count < dgv.Columns.Count; count++) { DataColum
阅读全文
posted @ 2017-06-16 10:02 jep
阅读(321)
评论(0)
推荐(0)
公告