摘要: 1.登陆页面代码 private void button1_Click(object sender, EventArgs e) { string username = textBox1.Text; string pwd = textBox2.Text; string connStr = "server=.服务器名;uid=用户名;pwd=123456;database=wq";//数据库连接字符串 using (SqlConnection conn = new SqlConnection(connStr)) { string sql = string.Format(&quo 阅读全文
posted @ 2012-07-02 17:53 履霜,坚冰至。 阅读(169) 评论(0) 推荐(0)