摘要: 在创建登录窗体时,如果不注意很可能写出代码出现问题。再设计登录窗体时,初学者喜欢用这种方式进行登录设计string sqlcon = "data source=.\\sqlexpress;database=MyCy;uid=sa;pwd=123456;"string sql = "select *from tb_user where username = '"+txtuser.text+"' and userpwd = '"+txtpwd.text+"'";SqlCommand cm 阅读全文
posted @ 2013-02-26 10:44 侠梦千年 阅读(355) 评论(0) 推荐(0)