这是一个创建于 4975 天前的主题,其中的信息可能已经有所发展或是发生改变。
012279
012280
012281
011913
011578
013173
程序异常:MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: 引发类型为“System.Exception”的异常。
在 MySql.Data.MySqlClient.NativeDriver.Open()
--- 内部异常堆栈跟踪的结尾 ---
在 MySql.Data.MySqlClient.NativeDriver.Open()
在 MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
在 MySql.Data.MySqlClient.MySqlPool.GetConnection()
在 MySql.Data.MySqlClient.MySqlConnection.Open()
在 Readwrite.sqlhelp.getMyDate(String sql) 位置 Readwrite\sqlhelp.cs:行号 46
在 Readwrite.Form1.InsertGoods()\Readwrite\Form1.cs:行号 103
----------------------------------------------
这个是同事交给我的一个问题。是想找013173 这样的数字,我用^\d{6}$,能把他们找出来,但是我想反过来呢? 应该怎么写? 我试了很久都没能搞定。
8 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
jimmy 2011-02-17 17:04:09 +08:00
反过来找什么?
|
|
|
2
SolidZORO 2011-02-17 17:10:57 +08:00
除了000000这样的六位数字。都找。
|
|
|
3
mifan 2011-02-17 17:19:15 +08:00
得到结果, 再查一次, 把 000000 去掉
|
|
|
5
rikugun 2011-02-17 17:21:22 +08:00
反过来? 就是取前边6位不是数字的呗
|
|
|
7
rikugun 2011-02-17 17:32:17 +08:00
|