为什么数据库附加不上去...
这数据库是不是没有断开连接啊,附加不上去...
divclass="comment""你的评论在这里"onmouseover="...
源码 ,功能简单
行 39: sqlcom.CommandText = "select count(*) from tb_Admin where AdminID='" + txtUserID.Text <br/>行 40: + "' and AdminName='" + txtUserName.Text + "' and AdminPwd='" + txtPassword.Text + "'";<br/><font color="red">行 41: int countAdmin = Convert.ToInt32(sqlcom.ExecuteScalar());//获取SQL语句的值 强制转换成数值类型<br/></font>行 42: if (countAdmin > 0)<br/>行 43: {<br/><br/>登陆的时候出现的BUG,,帮忙解答啊
<p>你可以吗bigint类型改成int类型试试</p>
