摘要: // 获取查询表单的值function getGridValue() { var a = []; $("#GridView tr td input").each(function (i, v) { //针对tb表格下的所有td进行遍历 a[i] = $(this).val(); }) //conso 阅读全文
posted @ 2017-06-19 17:42 码着码着就习惯了 阅读(3108) 评论(0) 推荐(0)
摘要: js中获得当前时间是年份和月份,形如:201208 //获取完整的日期 var date=new Date; var year=date.getFullYear(); var month=date.getMonth()+1; month =(month<10 ? "0"+month:month); 阅读全文
posted @ 2017-06-19 15:20 码着码着就习惯了 阅读(124) 评论(0) 推荐(0)
摘要: --输出A-Zdeclare @charAscii intdeclare @counter intset @charAscii=65 --A的asciiset @counter=0while @counter<26begin print char(@charAscii + @counter) set 阅读全文
posted @ 2017-06-16 11:16 码着码着就习惯了 阅读(242) 评论(0) 推荐(0)
摘要: --RID循环插入数据到表HBS_Personal_Ratio DECLARE @HBS_Detail_RID varchar(50) DECLARE item CURSOR FOR SELECT RID FROM Common_ImportData_Dtl(nolock) where log_ri 阅读全文
posted @ 2017-06-16 11:14 码着码着就习惯了 阅读(101) 评论(0) 推荐(0)
摘要: 只读 document.getElementById("ID").readOnly = true; 显示 document.getElementById("ID").style.display = "block";$("#ID").show(); 隐藏 document.getElementById 阅读全文
posted @ 2017-06-16 11:00 码着码着就习惯了 阅读(92) 评论(0) 推荐(0)
摘要: -- -- Author: cynimoon -- Create date: 2009-10-09 -- Description: 示例存储过程 -- -- EXEC TEST_PROC '文综','包括历史,地理,政治','政治','文综的一门' CREATE PROCEDURE [dbo].[T 阅读全文
posted @ 2017-05-03 17:13 码着码着就习惯了 阅读(224) 评论(0) 推荐(0)
摘要: /// <summary> /// DataSet转换成Json格式 /// </summary> /// <paramname="ds">DataSet</param> ///<returns></returns> public static string DatasetToJson(DataSe 阅读全文
posted @ 2017-04-28 23:15 码着码着就习惯了 阅读(2516) 评论(0) 推荐(0)
摘要: #region 创建数据库连接 private static SqlConnection conn = new SqlConnection(@"Data Source=RAD\TEST;Initial Catalog=JDIERP;Persist Security Info=True;User ID 阅读全文
posted @ 2017-04-28 23:13 码着码着就习惯了 阅读(108) 评论(0) 推荐(0)
摘要: SELECT ROW_NUMBER() OVER (order by USER_ID)as RowNumber,* FROM USERFLM SELECT IDENTITY(int,1,1) as rowId,* FROM test 阅读全文
posted @ 2017-04-28 23:08 码着码着就习惯了 阅读(117) 评论(0) 推荐(0)
摘要: --所有的存储过程视图SELECT * FROM SYS.all_sql_modulesWHERE definition LIKE '%IRFRVFM%' --删除数据库中所以的表 --use HDS--GO--declare @sql varchar(8000)--while (select co 阅读全文
posted @ 2017-04-28 23:04 码着码着就习惯了 阅读(134) 评论(0) 推荐(0)