摘要: with t as ( select top(1)* from testtest where aa='aa' order by bb)delete from t 阅读全文
posted @ 2014-11-12 14:55 bobo-bobo 阅读(1083) 评论(0) 推荐(0)
摘要: public class JsonHelper { public JsonHelper() { // // TODO: Add constructor logic here // } ... 阅读全文
posted @ 2014-11-07 16:15 bobo-bobo 阅读(516) 评论(0) 推荐(0)
摘要: //js获取复选框值 var obj = document.getElementsByName("interest");//选择所有name="interest"的对象,返回数组 var s='';//如果这样定义var s;变量s中会默认... 阅读全文
posted @ 2014-11-05 14:52 bobo-bobo 阅读(782) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Reflection;using System.Collections;using System.Data.C... 阅读全文
posted @ 2014-11-04 09:29 bobo-bobo 阅读(308) 评论(0) 推荐(0)
摘要: public static void ExportExcel(DataGridView myDGV, string fileName) { string saveFileName = fileName; //SaveFileD... 阅读全文
posted @ 2014-11-02 13:33 bobo-bobo 阅读(2418) 评论(0) 推荐(1)
摘要: If UBound(Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName)) > 0 Then End 阅读全文
posted @ 2014-10-31 16:27 bobo-bobo 阅读(365) 评论(0) 推荐(0)
摘要: /// /// .net系统的MD5加密方法/// /// /// public string MD5System(string strIN){ return strIN.IsNullOrEmpty() ? "" : System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(strIN, "MD5")... 阅读全文
posted @ 2014-10-30 21:59 bobo-bobo 阅读(347) 评论(0) 推荐(0)
摘要: /// /// 获取浏览器端操作系统名称/// /// public static string GetOSName(){ string osVersion = System.Web.HttpContext.Current.Request.Browser.Platform; string userAgent = System.Web.HttpContext.Current.Reques... 阅读全文
posted @ 2014-10-30 21:58 bobo-bobo 阅读(584) 评论(0) 推荐(0)
摘要: Ctrl+1 快速修复(最经典的快捷键,一定要会)Ctrl+D: 删除当前行Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置Alt+↑ 当前行和上面一行交互位置Alt+← 前一个编辑的页面Alt+→ 下一个编... 阅读全文
posted @ 2014-10-29 22:54 bobo-bobo 阅读(160) 评论(0) 推荐(0)
摘要: System.Web.Mvc.ViewPagepublic ActionResult Index(){IDictionary entity = new Dictionary();//声明一个字典健值对List lpc = new List();//实体一List lsp = new List();/... 阅读全文
posted @ 2014-10-29 15:23 bobo-bobo 阅读(525) 评论(0) 推荐(0)