本地 asp如何连接sql 2005 express数据库啊 本地 asp如何连接sql 2005 express数据库啊连接代码如何写啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 最简单的是ODBC 然后用ADO.net 一个完整的例子 string userName = Request.Form["userName"]; string userPwd = Request.Form["userPwd"]; SqlConnection con = new SqlConnection("server=localhost\\SqlExpress;uid=sa;pwd=123456;database=login"); con.Open(); SqlCommand cmd=new SqlCommand("select count(*) from login where userName='"+userName+"' and userPwd='"+userPwd+"'",con); int count=Convert.ToInt32(cmd.ExecuteScalar()); if(count>0) { Response.Redirect("main.aspx"); } 在线等啊,大哥们 sql server 触发器中如何写循环 如何得到这样的查询结果? 行集函数openquery()问题????????????? 小表跟大表连 急!急!急链接服器提示未建立相关链接 刚学请教下如下的函数与select应该如何写 我如何才能再delphi中调用vfp中的数据呢!(急用) sql 数据的筛选和表连接 求一简单的SQL语句 请高手指点 在线等 Conversion failed when converting date and/or time from character string. 查询重复数据怎么查啊
Response.Redirect("main.aspx");
}