try { string msg = this.richTextBox1.Text; string title = "新通知"; string toastMessage = "" + ...
1 $(".content").each(function(){ 2 if($(this).text().length>100){3 $(this).text($(this).tex...
分类:
Web程序 时间:
2014-06-18 13:13:18
阅读次数:
253
全文检索在 MySQL 中就是一个 FULLTEXT 类型索引。FULLTEXT 索引用于 MyISAM 表,可以在 CREATE TABLE 时或之后使用 ALTER TABLE 或 CREATE INDEX 在 CHAR、 VARCHAR 或 TEXT 列上创建对于大的数据库,将数据装载到一个没...
分类:
数据库 时间:
2014-06-17 20:11:30
阅读次数:
268
我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/.....
分类:
Web程序 时间:
2014-06-17 19:59:52
阅读次数:
241
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace WebBuild_CRM.Common{ public class Excep...
分类:
其他好文 时间:
2014-06-17 19:57:12
阅读次数:
250
java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd hh-mm-ss");
java.util.Date d = formatter.parse("2014-06-18 07-30-00");
if (java.lang.System.currentT...
分类:
编程语言 时间:
2014-06-17 19:04:15
阅读次数:
258
例:string Content =“"<p style="TEXT-ALIGN:center;"><span style="font-family:宋体;">&l...
分类:
其他好文 时间:
2014-06-17 15:44:56
阅读次数:
218
1、用字符串分隔:using System.Text.RegularExpressions;string str="aaajsbbbjsccc";string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach (string...
分类:
其他好文 时间:
2014-06-17 15:12:33
阅读次数:
210
有3个:floor — 舍去法取整 floor ($value )返回不大于 value 的下一个整数,将 value 的小数部分舍去取整。floor() 返回的类型仍然是 float,因为 float 值的范围通常比 integer 要大。 ceil — 进一法取整ceil ( $value )....
分类:
Web程序 时间:
2014-06-17 15:08:58
阅读次数:
234
Ubuntu11更新语言插件,更新时提示正在更新缓存”“正在等待jockey-backend退出”,然后就不动了.解决方案:在终端中键入ps-e|grepjockey系统会显示一组执行程序号码(?)在终端中输入sudokill号码
分类:
其他好文 时间:
2014-06-17 14:30:22
阅读次数:
241