06 2014 档案
摘要:1 判断数据库是否存在if exists (select * from sys.databases where name = '数据库名')drop database [数据库名]2 判断表是否存在if exists (select * from sysobjects where id = obje...
阅读全文
摘要:创建一个WPF应用程序WpfApplication1,新建个窗体DialogWin ...
阅读全文
摘要:datagridview有一列DataGridViewCheckBox,但连续点击的话(1秒点击N次),会导致出错,数据处理不正确,感觉private void dgv_CellContentClick(object sender, DataGridViewCellEventArgs e) {}的没...
阅读全文
摘要:Ping pingSender = new Ping();PingReply reply = pingSender.Send("127.0.0.1",120);//第一个参数为ip地址,第二个参数为ping的时间if(reply.Status == IPStatus.Success){ //pin...
阅读全文
摘要:比如有几个谷底字符串匹配的话,可以用正则表达式^(abc)|(bac)|(dac)$,abc,bac,dac,分别只字符串
阅读全文

浙公网安备 33010602011771号