摘要:
private void button1_Click(object sender, EventArgs e) //将数据库里的数据直接显示在datagridview1里面 { SqlConnection conn = new SqlConnection("ser... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e)//将数据库中读出来的信息直接显示在listview里 { //连接数据库 SqlConnection conn = new SqlConnectio... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) //查询 { dataGridView1.AutoGenerateColumns = false;//AutoGenerateColumns 是否将某个... 阅读全文