摘要: DataTable dt = new DataTable(); string sql = string.Format(@"SELECT [xingming],[nianji] ,[xuehao] FROM [dbo][123]"); SqlDataAdapter ds = new SqlDataAd 阅读全文
posted @ 2017-10-28 21:07 王钰鑫 阅读(133) 评论(0) 推荐(0) 编辑
摘要: DialogResult result = MessageBox.Show("确定清空吗?", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); if (DialogResult.OK == result) { this.txtChaxu 阅读全文
posted @ 2017-10-28 11:50 王钰鑫 阅读(257) 评论(0) 推荐(0) 编辑
摘要: public void feikong() { if (this.txtChaxun.Text.Trim().Equals(string.Empty)) { MessageBox.Show("请输入用户名", "信息提示", MessageBoxButtons.OK, MessageBoxIcon. 阅读全文
posted @ 2017-10-28 11:28 王钰鑫 阅读(186) 评论(0) 推荐(0) 编辑