摘要:
1.onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" 阅读全文
摘要:
借鉴的例子: select id,name from table order by case when id like 'shanghai%' then 0 when id like 'beijing%' then 1 else 2 end select new {ul.Id,ul.UserId,d 阅读全文
摘要:
抄来的例子 string url = "http://wx.sysmex.com.cn:8080/Utility/AddressBookSync.aspx"; string postData = "method=sync"; postData += "&data2=xxx"; byte[] data 阅读全文
摘要:
var td5 = $('<td> <button onclick="DoRemove(' + "'" + attachmentid + "'" +')">删除附件</button> </td>'); 阅读全文
摘要:
<input name="pwd" type="password" id="pwd" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false"/>onpaste:粘贴时 阅读全文
摘要:
formatter: "date", formatoptions: { srcformat: "y-m-d H:i:s", newformat: "y-m-d H:i:s" } 阅读全文
摘要:
public static string Input(string standard) { Regex regex = new Regex(standard); string input = Console.ReadLine(); while(regex.IsMatch(input)==false) 阅读全文
摘要:
forexample declare @NewWork xml='<NewWork> <Work Mno="100009"> <Sno0 Sno="10010001"></Sno0> <Sno0 Sno="10010002"></Sno0> </Work></NewWork>' declare @i 阅读全文
摘要:
举个栗子 if object_id(N'[dbo].[TestForekoy_Mission]',N'u') is not null drop table [dbo].[TestForekoy_Mission]gocreate table [dbo].[TestForekoy_Mission]( [ 阅读全文
摘要:
举个栗子 alter table dbo.TestForekoy_StaffSecurity add InputWrong int not null constraint DF_TestForekoy_StaffSecurity_InputWrong default (0) 阅读全文