该文被密码保护。 阅读全文
摘要:
后台取dateTime格式,前台格式化就好了" onclick="WdatePicker()" />,这样就能得到想要的格式了,如2013-12-10 阅读全文
摘要:
1 IList tempList = new List();2 IList tempActionList = new List();3 4 var iactionlist = (from li in tempList5 select li).Distinct();6 foreach (var d in iactionlist)7 {8 tempActionList.Add(d);9 } View Code tempList为... 阅读全文
摘要:
1 function changeDisplay() { 2 if ($("#btnShow").attr("value")== "添加附件") { 3 $("#IdShow").show(); 4 $("#btnShow").attr("value", "取消添加附件"); 5 } 6 else { 7 $("#IdShow").hide(); 8 $("#btnShow").attr(... 阅读全文
摘要:
jquery代码 1 $(function () { 2 $('#inputCheck').click(function () { 3 if ($(this).attr("checked")) {//全选 4 $("input[name='chkSelect']").attr("checked", $(this).attr("checked")); 5 $("#selectAll").text("取消全选"); 6 } else... 阅读全文
摘要:
先遍历每一行,判断checkBox是否选中,再获取选中行的主键Id 删除就行了 ,,,foreach(DatalistRow rowview in Datalist.Rows) //遍历Datalist中的每一行 {//假设你的Datalist中的复选框放在第一列,id是“CheckBox1” CheckBox check = (CheckBox)rowview.Cells[0].FindControl("CheckBox1");//找到了checkbox控件 if(check.Checked)//如果被选中 { ... //假设你把每一行的id放... 阅读全文
摘要:
例如 表的名字mg_trainplan,可以写select * from user_triggers where table_name = upper('mg_trainplan'); 阅读全文
摘要:
首先建立两个表,用来测试,代码如下:View Code 1 create table test( 2 3 tt varchar(50) not null 4 5 primary key (tt) 6 7 ) 8 9 create table myTest(10 11 aa varchar(40) not null,12 13 bb varchar(50) not null,14 15 cc varchar(50) not null,16 17 constraint PK_myTest primary key (aa),18 19 constraint fk_myTest foreig... 阅读全文
摘要:
一通过语句找到sid和serialselect username,sid,serial# from v$session二 删除用户所在的sid,serial 假设分别为159 31alter system kill session'159,31'三 之后drop user 用户名cascade 就可以删除了 阅读全文
摘要:
View Code 1 function addItemmonth() {2 3 var tOption = document.createElement("Option");4 tOption.text = "月明显";5 tOption.selected = true;6 tOption.value = document.all("DropDownList3").options.length + 1;7 document.all("DropDownList3").add(tOption);8 9 } 阅读全文