摘要: 1.生成0001-9999的编码 //在PL/sql中 创建一个序列 Create sequence seq_cdptIncrement by 1 --自增数Start with 1 --开始累加数Maxvalue 999999 --最大数Minvalue 1 --最小开始数Nocycle --一直 阅读全文
posted @ 2018-06-28 17:25 MrXiang 阅读(289) 评论(0) 推荐(0) 编辑
摘要: string path = AppDomain.CurrentDomain.BaseDirectory+"UserContent1.xml"; //判断相应路径下文件是否存在 不存在的情况下就新建 if (!File.Exists(path)) { File.Create(path); ... 阅读全文
posted @ 2018-06-09 15:59 MrXiang 阅读(147) 评论(0) 推荐(0) 编辑
摘要: //A窗体设置B窗体的属性并刷新B窗体 Application.OpenForm["窗体名称"].Controls["控件名称"].visible=true; 阅读全文
posted @ 2018-06-08 18:47 MrXiang 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1 //文件的读取方式一 2 //直接读取文件 3 4 string textContent=File.ReadAllText("路径","读取的文件内容类型"); 5 6 //文件读取 方式二 7 8 string FileName="";//表示路径 9 using(FlieStream fs= 阅读全文
posted @ 2018-05-30 18:46 MrXiang 阅读(290) 评论(0) 推荐(1) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-05-16 15:21 MrXiang 阅读(3) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-05-16 14:56 MrXiang 阅读(2) 评论(0) 推荐(0) 编辑