上一页 1 ··· 57 58 59 60 61
摘要: function $(id) { if (id != null || id != "") { return document.getElementById(ClientIDPrefix + id); }}function Get() { if ($("txt").value == "") { $("lbl").value = ""; return; } var xmlhttp; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest() 阅读全文
posted @ 2013-08-29 23:47 剑握在手 阅读(361) 评论(0) 推荐(0)
摘要: 内容绝大部分来自互联网,出处请百度。全角半角皆适用 1 Public Function bSubstring(ByVal s As String, ByVal length As Integer) As String 2 Dim bytes As Byte() = Text.Encoding.Unicode.GetBytes(s) 3 4 5 Dim n As Integer = 0 6 7 Dim i As Integer = 0 8 9 While i 0 Then15 ... 阅读全文
posted @ 2013-08-26 11:21 剑握在手 阅读(1648) 评论(0) 推荐(0)
摘要: 先搁这吧,今天太晚了,以后再加注释和修整吧。不幸搜到的朋友就别看了 good 阅读全文
posted @ 2013-08-25 23:21 剑握在手 阅读(512) 评论(0) 推荐(0)
摘要: 一、JS中用正则判断字符串是否有匹配正则的字符串部分,格式如下: /[a-zA-Z](.*?)[a-zA-Z]/.test('1a123d45678901a2')“.test”前面的部分是正则表达式,后边的部分是要判断的字符串。二、JS中用正则截取字符串中匹配正则的字符串部分,格式如下: ('1... 阅读全文
posted @ 2013-08-23 22:15 剑握在手 阅读(4439) 评论(0) 推荐(0)
摘要: using System;using System.Data;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.Text;using System.Collections;//using System.Text;namespace WebApplication1{ public partial class WebForm... 阅读全文
posted @ 2013-07-21 21:14 剑握在手 阅读(911) 评论(0) 推荐(0)
摘要: sudo权限添加: 刚开始用Center_os Linux操作系统,想装个输入法,搜了一下,看到linux下的搜狗输入法(帖子链接)下载下来的文件的扩展名是.deb,直接用帖子上的一个命令:sudo dpkg -i fcitx-sogoupinyin_0.0.0-2_i386.deb。系统提示一句话,大体意思是没有sudo权限,又在网上查了一下:大体内容都是让编辑 sudo文件,1,命令:su -2,命令:vimsudo3,在其中添加文字:xxx ALL=(ALL) ALL (这里的xxx是你要为之添加sudo权限的用户名)。执行了上述命令就可以了。下面的“附”是一些参考内容。附:其中一篇内. 阅读全文
posted @ 2013-07-20 15:26 剑握在手 阅读(1231) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61
返回顶部↑