会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
张小帅
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2016年5月20日
sql merge
摘要: MERGE语句是SQL语句的一种。在SQL Server、Oracle数据库中可用,MySQL、PostgreSQL中不可用。MERGE是Oracle9i新增的语法,用来合并UPDATE和INSERT语句。 Merge语法 编辑 Merge语法 MERGE [hint] INTO [schema ]
阅读全文
posted @ 2016-05-20 11:23 张小帅
阅读(207)
评论(0)
推荐(0)
编辑
2016年3月9日
foreach 遍历 datatable中row
摘要: datatable dt = new datatable foreach(var row in dt.rows.cast<datarow>()) { }
阅读全文
posted @ 2016-03-09 10:09 张小帅
阅读(5434)
评论(0)
推荐(0)
编辑
2016年2月24日
winform 子窗体居中显示
摘要: Form child =new Form(); point p = new point(); p.x = (pform.width-child.width)/2; p.y = (pform.height-child.height)/2; child.location = p; child.tople
阅读全文
posted @ 2016-02-24 10:35 张小帅
阅读(621)
评论(0)
推荐(0)
编辑
2015年12月9日
MYSQL 分组合并函数
摘要: MySQL中group_concat函数完整的语法如下:group_concat([DISTINCT] 要连接的字段 [Order BY ASC/DESC 排序字段] [Separator '分隔符'])基本查询mysql> select * from aa;+------+------+| id|...
阅读全文
posted @ 2015-12-09 17:43 张小帅
阅读(453)
评论(0)
推荐(0)
编辑
2015年10月28日
winform 关闭窗体 释放内存
摘要: private void formclosed { FlushMemory(); } [DllImport("kernel32.dll")] private static extern bool SetProcessWorkingSetSize(IntPtr process, int minSiz...
阅读全文
posted @ 2015-10-28 20:04 张小帅
阅读(1000)
评论(0)
推荐(0)
编辑
2015年10月10日
C#生成并引用资源文件
摘要: C#生成并引用资源文件可以使用任何信息,图片,字符,尤其是图片信息,比DLL要广泛得多。下面创建一个资源文件usingSystem;usingSystem.Resources;usingSystem.Drawing;namespaceConsoleApplication1{//////Class1的...
阅读全文
posted @ 2015-10-10 10:36 张小帅
阅读(717)
评论(0)
推荐(0)
编辑
2015年6月29日
listview异步加载图片
摘要: package com.example.testlistloadimage;import java.io.IOException;import java.io.InputStream;import java.lang.ref.SoftReference;import java.net.HttpURL...
阅读全文
posted @ 2015-06-29 07:23 张小帅
阅读(163)
评论(0)
推荐(0)
编辑
2015年5月27日
android intent 传递 list<object>
摘要: android 中 intent 如何传递arraylist?hashmapintent可以传递 list 、list等等,但我没找到有object。所以也没list>类型,在此可以这样intent intent = new intent();intent.putExtra("list",newAr...
阅读全文
posted @ 2015-05-27 07:13 张小帅
阅读(1598)
评论(0)
推荐(0)
编辑
2015年5月26日
android 数据传输 json xml
摘要: 学习android 记录 第一次写随笔 先试验下流程一 jsonandroid 解析json 有多种 如json lib 等,还是应该采用官方吧gson,jsonreader(主要是sdk2.0,2.1,2.22没有jsonreader,其实是一样的),方便 简单使用GSON 非常简单首先下载gso...
阅读全文
posted @ 2015-05-26 22:07 张小帅
阅读(265)
评论(0)
推荐(0)
编辑
上一页
1
2
3