摘要: //第一种方法,用正则表达式using System.Text.RegularExpressions; Match m = Regex.Match(string, @"^[\u4e00-\u9fa5]+$"); if(m.Success) { //全中文 } else { //不是全中文 }//第二种方法public static int len(String ss){ Cha... 阅读全文
posted @ 2010-04-28 21:12 仙仙 阅读(252) 评论(0) 推荐(0) 编辑
摘要: --按此步骤操作,否则有可能会造成数据库发生错误。--清空数据库日志dump transaction youshangdao_data with no_log--截断事务日志backup log youshangdao_data with no_log--收缩数据库日志dbcc shrinkfile(youshangdao_data_log,10) 阅读全文
posted @ 2010-04-28 21:10 仙仙 阅读(193) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta htt... 阅读全文
posted @ 2010-04-28 20:27 仙仙 阅读(342) 评论(0) 推荐(0) 编辑