上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页
摘要: 简单的.net增删改查(展示函数设计) public void show() { listBox1.Items.Clear(); MySqlDataReader item = getReader("select * from information"); string s = "学号|".PadLe 阅读全文
posted @ 2021-12-06 20:17 我的未来姓栗山 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 简单.net增删改查(一些基础函数) string str=listBox1.SelectedItem.ToString().Replace(" ",""); //替换字符串 GetString("name").PadLeft(10) //占位10 listBox1.Items.Clear(); / 阅读全文
posted @ 2021-12-03 22:10 我的未来姓栗山 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 简单.net增删改查(控件的隐藏和显示) public void v1() { comboBox1.Visible = true; comboBox2.Visible = true; textBox2.Visible = true; label6.Visible = true; label7.Vis 阅读全文
posted @ 2021-12-02 19:22 我的未来姓栗山 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 简单.net增删改查(修改) string str = ""; if (comboBox1.Text.Equals("学号")) { str = "xh"; } else if (comboBox1.Text.Equals("姓名")) { str = "name"; } else if (comb 阅读全文
posted @ 2021-12-01 21:11 我的未来姓栗山 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 简单.net增删改查(删除) string str=listBox1.SelectedItem.ToString().Replace(" ",""); string[] key = str.Split('|'); getCom("delete from information where xh='" 阅读全文
posted @ 2021-11-30 21:33 我的未来姓栗山 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 简单.net增删改查(添加,mysql数据库连接) string xh = textBox1.Text; string name= textBox3.Text; string age= textBox4.Text; string phone= textBox6.Text; string area=t 阅读全文
posted @ 2021-11-29 20:18 我的未来姓栗山 阅读(19) 评论(0) 推荐(0) 编辑
摘要: php(ex02c.php) <?phpif(isset($_GET['name'])&&isset($_GET['sex'])){ $ID = $_GET['name']; $sex = $_GET['sex']; $conn=mysqli_connect("localhost","root"," 阅读全文
posted @ 2021-11-26 19:45 我的未来姓栗山 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 获取上传文件后缀函数 function GetExtensionFileName(pathfilename) { var reg = /(\\+)/g; var pString = pathfilename.replace(reg, "#"); //用正则表达式来将\或\\替换成# var arr 阅读全文
posted @ 2021-11-25 21:31 我的未来姓栗山 阅读(15) 评论(0) 推荐(0) 编辑
摘要: php(ex02b.php) <?phpif(isset($_GET['name'])&&isset($_GET['sex'])){ $ID = $_GET['name']; $sex = $_GET['sex'];}if(isset($_POST['name'])&&isset($_POST['s 阅读全文
posted @ 2021-11-24 21:21 我的未来姓栗山 阅读(21) 评论(0) 推荐(0) 编辑
摘要: php(ex02a.php) <?phpif(isset($_POST['name'])&&isset($_POST['sex'])){ $ID = $_POST['name']; $sex = $_POST['sex']; $conn2=mysqli_connect("localhost","ro 阅读全文
posted @ 2021-11-23 20:41 我的未来姓栗山 阅读(37) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 29 下一页