2019年2月13日

录入数据到指定TXT

摘要: FileInfo myFile = new FileInfo(@"C:\temp\zxkc.txt"); StreamWriter sw = myFile.CreateText(); string[] strs = { zxck1.Text, zxck1.Text, "900" }; foreach (var s in... 阅读全文

posted @ 2019-02-13 08:13 肚子咕咕叫是不是饿了 阅读(108) 评论(0) 推荐(0) 编辑

C# VS2015 连接SQLServer数据库 加当前日期查询 2019-02-13 格式 省略00:00:00.000

摘要: private void button2_Click(object sender, RoutedEventArgs e) { MessageBox.Show("你选择的连接按钮", "系统提示2"); //后面拼写查询语句要用到窗体的信息 // string user = textBox1.Text; ... 阅读全文

posted @ 2019-02-13 08:11 肚子咕咕叫是不是饿了 阅读(882) 评论(0) 推荐(0) 编辑

导航