摘要: static void Main(string[] args) { string ExecuteDesc = "所要插入的字符串"; int count = ExecuteDesc.Length / 20; for (int j = 1; j ") : ExecuteDesc.Insert(j * 20 + (j - 1) * 5, ""); } } 阅读全文
posted @ 2013-11-26 00:17 莫等闲也 阅读(669) 评论(0) 推荐(0) 编辑
摘要: (方法一)父页面:弹出新的子窗口子页面: (方法二)父页面:弹出新的模态子窗口子页面:转载地址:http://blog.sina.com.cn/s/blog_586b6c0501008h9o.html 阅读全文
posted @ 2013-10-18 13:04 莫等闲也 阅读(14323) 评论(0) 推荐(0) 编辑
摘要: function selectAll(obj) { if (obj.checked) { $("input[type='checkbox']").each(function () { $(this).attr('checked', 'checked'); }); } else { $("input[type='checkbox']").each(function () { $(this).removeAttr('checked'); }); } } f... 阅读全文
posted @ 2013-10-17 09:28 莫等闲也 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: public IList GetRequestAllByUserCodeUnitSysClassify1(string unitNo, string system, string classify, string requestNo, string[] pointArray, int pageIndex, int pageSize, out int totalRows) { this.Dispose(); if (dataBaseSession == null) { dataBase... 阅读全文
posted @ 2013-10-11 10:57 莫等闲也 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: function GetCurrenetPoint() { debugger var currentTypes = ""; var display = $("#input_tbType").css("display"); if (display == "none") { currentTypes = "bak"; } else { $("input[name='type']").each(function... 阅读全文
posted @ 2013-10-11 10:55 莫等闲也 阅读(4126) 评论(0) 推荐(0) 编辑
摘要: 在js脚本里全局定义一个 var r=true;若是刷新的话则把r=false; $(window).unload(function () { if (r) { //这里面证明用户不是点的F5刷新 执行你的操作 $.ajax({ type: "Post", url: "/BillInfo/Clear 阅读全文
posted @ 2013-09-04 00:48 莫等闲也 阅读(14696) 评论(0) 推荐(0) 编辑
摘要: 岁月荏苒,转眼之间我也从毕业到现在干了2年多的编程开发,总结一下感悟。 第一年的我刚毕业怀揣一颗梦想的心,到了第一家公司。在这里公司在研发“汇金ERP系统”,我看到那漂亮的界面就有一种想亲自操作一番的感觉。 ERP系统所用开发技术:1、界面UI是用WPF技术开发 2、三层架构规范源码 3、后台windows服务循环数据 4、操作数据库所用ADO.Net,增删改查调用存储过程执行 5、系统打印小票所用的开发工具为水晶报表FastReport 第二年到了第二家公司,公司主要研发针对风电、核电、... 阅读全文
posted @ 2013-08-30 00:43 莫等闲也 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 有两个日期,一个大,一个小,得出两个日期的差值;TimeSpan DelayValue = EndTime.Subtract(StartTime); 相差天数:DelayValue.Days相差小时:DelayValue.Hours 相差分钟:DelayValue.Minutes相差秒:DelayValue.Seconds 阅读全文
posted @ 2013-08-09 00:03 莫等闲也 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 设计数据库工具时用PowerDesigner来,进行数据库建模,可直接生成为数据库代码,方便后期查看图形与维护 阅读全文
posted @ 2013-08-01 09:26 莫等闲也 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 通过字符串的转化将DateTime格式转化为指定格式 ①(yyyy-MM-dd HH:mm:ss)有24小时的划分,可显示16点、13点; ②(yyyy-MM-dd hh:mm:ss)没有24小时的区分,只有1~12点; ViewData["PredictCancelTime"] = model.PredictCancelTime.ToString("yyyy-MM-dd HH:mm:ss"); 阅读全文
posted @ 2013-06-04 23:01 莫等闲也 阅读(201) 评论(2) 推荐(0) 编辑