摘要:
1.MySQL重置自增id 方法一:使用truncate命令(截断表) truncate table tableName(表名); 注意:truncate命令一次性将表中所有数据删除,且无法恢复。并且在删除过程中不会激活与表有关的删除触发器。执行速度快。使用truncate命令后,表和索引所占用的空 阅读全文
posted @ 2022-04-13 11:50
qingjiawen
阅读(795)
评论(0)
推荐(0)
摘要:
//获取得到输入的身份证号码 string identityCard = textBox_IdentityCard.Text.Trim(); if (string.IsNullOrEmpty(identityCard)) { //身份证号码不能为空,如果为空返回 MessageBox.Show("身 阅读全文
posted @ 2022-04-13 11:07
qingjiawen
阅读(813)
评论(0)
推荐(0)
摘要:
一,list单个元素比较 List<int> c = new List<int>(); List<int> d = new List<int>(); c.Add(1); c.Add(2); d.Add(1); d.Add(2); d.Add(3); 判断d中是否包含c: if (c.All(t => 阅读全文
posted @ 2022-04-13 10:59
qingjiawen
阅读(2160)
评论(0)
推荐(0)

浙公网安备 33010602011771号