摘要:
1.【一个button txetbox listview】private void button_Click(object sender, EventArgs e){SqlConnection scn = new SqlConnection(); //创建对象并设置属性scn.ConnectionString = "server=XZ-20130306TSYW\\SQL;trusted_connection=yes;database=查询;"; //连接字符串SqlCommand scmd = new SqlCommand(); ... 阅读全文