亲,知道百度的网址么?我知道,哈哈哈
百度一下
摘要: SELECT * FROM (SELECT ROW_NUMBER() OVER(PARTITION BY GroupID ORDER BY GroupID) ID,* FROM tab_Users) NEWTABLE WHERE ID = 1 阅读全文
posted @ 2013-09-22 16:04 1+1=10 阅读(566) 评论(0) 推荐(1) 编辑
摘要: 1 /// 2 /// 在磁盘上创建一个临时的excel文件 3 /// 4 private void CreateExcelFile(string filePath, List list) 5 { 6 if (File.Exists(filePath)) 7 { 8 File.Delete(filePath); 9 } 10 11 OleDbConnection... 阅读全文
posted @ 2013-09-22 10:46 1+1=10 阅读(280) 评论(0) 推荐(0) 编辑
摘要: jQuery.cookie = function (name, value, options) { if (typeof value != 'undefined') { options = options || {}; if (value === null) { value = ''; options.expires = -1; } var expires = ''; if (options.expires && (typeof options.expires == 'num... 阅读全文
posted @ 2013-09-18 17:16 1+1=10 阅读(140) 评论(0) 推荐(0) 编辑
摘要: JS: 1 function CreateNode() { 2 var div = document.getElementById('divMess'); 3 var Node = document.createElement("div"); //创建标签 4 Node.innerHTML = "你好"; 5 Node.setAttribute("style", "width: 100%; float: left; height: 20px; line-height: 20px; text-align: ce 阅读全文
posted @ 2013-09-04 16:09 1+1=10 阅读(260) 评论(0) 推荐(0) 编辑
摘要: //图片转换成byte[]private byte[] moneyimage;moneyimage = File.ReadAllBytes("D:\\Penguins.jpg");//byte[]显示到pictureBoxusing (MemoryStream ms = new MemoryStream(moneyimage)){ pictureBox1.Image = Image.FromStream(ms);} 阅读全文
posted @ 2013-08-08 15:47 1+1=10 阅读(204) 评论(0) 推荐(0) 编辑
摘要: /// <summary>/// 实现窗体的最小化/// </summary>protected override CreateParams CreateParams{ get { const int WS_MINIMIZEBOX = 0x00020000; // Winuser.h中定义 CreateParams cp = base.CreateParams; cp.Style = cp.Style | WS_MINIMIZEBOX; // 允许最小化操作 return cp; }}出处:http://blog.csdn.net/... 阅读全文
posted @ 2013-01-26 11:14 1+1=10 阅读(669) 评论(0) 推荐(0) 编辑
亲,知道百度的网址么?我知道,哈哈哈
百度一下