摘要: /// /// 获得pc号 /// public static string GetPcsnString() { var pcsn = ""; try { var search = new Manage... 阅读全文
posted @ 2019-06-24 16:59 饮木 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 1、增加字段(修改表)alter table 表名 ADD 字段 类型 NOT NULL Default 0 阅读全文
posted @ 2019-06-24 11:50 饮木 阅读(137) 评论(0) 推荐(0) 编辑
摘要: string l_strResult = 你的字符串.Replace("\n", "").Replace(" ","").Replace("\t","").Replace("\r",""); 阅读全文
posted @ 2019-06-24 11:49 饮木 阅读(15235) 评论(0) 推荐(1) 编辑
摘要: string数组 string[] s1 = new string[3] { "John", "Paul", "Mary" }; string[] s1 = new string[3] { "John", "Paul", "Mary" }; if (s1.Contains("John")) if ( 阅读全文
posted @ 2019-06-24 10:48 饮木 阅读(2696) 评论(0) 推荐(0) 编辑