03 2014 档案
摘要:1 SELECT 2 表名 = CASE WHEN A.COLORDER=1 THEN D.NAME ELSE '' END, 3 表备注 = CASE WHEN A.COLORDER=1 THEN ISNULL(F.VALUE,'') ELSE '' END, 4 列序号 = A.COLORDER, 5 列名称 = A.NAME, 6 标识 = CASE WHEN COLUMNPROPERTY(A.ID,A.NAME,'ISIDENTITY')=1 THEN '√ ' ELSE '' END, 7
阅读全文
摘要:1) 禁止右键 在开发 Web 应用的时候,有些情况需要禁用右键单击功能。使用此代码,jQuery 开发人员可以在网页上禁用鼠标右键点击。代码如下: $(document).ready(function() { //catch the right-click context menu $(document).bind("contextmenu",function(e) { //warning prompt - optional alert("No right-clicking!"); //delet...
阅读全文
摘要:一、参数的获取:在ASP.NET MVC 中获取当前URL、controller、actionURL的获取很简单,ASP.NET通用:【1】获取完整url(协议名+域名+虚拟目录名+文件名+参数)stringurl=Request.Url.ToString();【2】获取虚拟目录名+页面名+参数:stringurl=Request.RawUrl;(或stringurl=Request.Url.PathAndQuery;)【3】获取虚拟目录名+页面名:stringurl=HttpContext.Current.Request.Url.AbsolutePath;(或stringurl=HttpCo
阅读全文
摘要:Android ViewPager使用详解 android 左右滑动效果Android应用高仿博客 ASP.NET MVC4中调用WEB API的四个方法
阅读全文
摘要:1 import java.util.regex.*; 2 public class Demo 3 { 4 public static void main(String[]args){ 5 //1、正则验证Email 6 String email="XXXX@.163.com"; 7 Pattern p = Pattern.compile("\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*"); 8 Matcher m = p.matcher(email); ...
阅读全文
摘要:1 public static bool smethod_0(ref string string_0) 2 { 3 string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase + "LvCha.S3.dll"; 4 if (File.Exists(path)) 5 { 6 // ab ab = new ab(); 7 if (/*ab.a()*/true) 8 ...
阅读全文

浙公网安备 33010602011771号