asp中用存储过程实现文章的点击量增长如何实现啊,各位前辈

解决方案 »

  1.   

    迷路了吧?这里是asp.net的。
    存储过程里就执行一个点击量增加的语句就行啊:
    update 表 set 点击量=点击量+1 where id=@id
      

  2.   

    asp不懂
    asp.net
    create proc UpdateHit
    (
      @ID int
    )
    as
    update table set hit = hit+1 where ID=@ID这种没有逻辑的直接用sql语句写就可以!
      

  3.   

    同一楼.每次点击开某文章的时候会触发select.
    同时update一下点击量就OK了
      

  4.   

    string sql="update Tb_Aticle set hits=hits+1 where id=@id";
    @id int
    AS
    update Tb_Aticle set hits=hits+1 where id=@id