导航

bluesailor散记

« VS2005初体验-绑定SQL数据库-ASP.NET学习(2)ASP.NET入门C#-ASP.NET学习(3) »

SQL数据库不能更新的小问题

今天在调试程序时发现SQL数据库不能更新,

当时读取时选用了:select  top 1 * from tablename where username='"& username &"'

rs.Open txtSQL,conn,1,3

改成:select   * from tablename where username='"& username &"'

一切OK.

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright Lunji.com Some Rights Reserved.

Search

控制面板

最新评论及回复

最近发表