摘要:
先推薦一個在線測試/學習正則表達式的網址,http://www.gskinner.com/RegExr/1、一個正則表達式,只含有漢字、數字、字母、下劃線不能以下劃線開頭和結尾:^(?!_)(?!.*?_$)[a-zA-Z0-9_\u4e00-\u9fa5]+$ 其中:^ 與字符串開始的地方匹配(?!_) 不能以_開頭(?!.*?_$) 不能以_結尾[a-zA-Z0-9_\u4e00-\u9fa5]+ 至少一個漢字、數字、字母、下劃線$ 與字符串結束的地方匹配放在程序里前面加@,否則需要\\進行轉義 @"^(?!_)(?!.*?_$)[a-zA-Z0-9_\u4e00-\u9fa5] 閱讀全文
posted @ 2011-02-22 15:44
Mamboer
閱讀(13490)
評論(0)
推薦(1)
摘要:
參考這里:How to Bin Deploy SQL Compact Edition 4.0 and Razor web projectsWith the release of VS2010 SP1 Beta1, Web Matrix, and Razor QFE, we can build web projects containing SQL Compact Edition 4.0 sdf file and ASP.NET Web Pages with Razor syntax. However, this might be a problem when you are ready to 閱讀全文
posted @ 2011-02-22 13:46
Mamboer
閱讀(515)
評論(0)
推薦(0)
浙公網安備 33010602011771號