滚动就用<marquee></marquee> 
具体代码找个滚动的网站看一下就可以了。asp.net读数据库这个就不用说了啥。

解决方案 »

  1.   

    <marquee></marquee>标记,往里面填内容不就行了
      

  2.   

    在html页面里加入:
    <marquee id="scrollArea" onmouseover="scrollArea.stop()" onmouseout="scrollArea.start()"scrollAmount="2" scrollDelay="150" direction="up" width="94.88%" height="146">
    <%=str%>
    </marquee>在cs里:
    public string str;
    page_load()事件里写:
    {........//连接数据库
     ........//for()循环
    str=ds.Tables[0].Rows[i]["news_title"].ToString();//取记录 
    }
      

  3.   

    <marquee>//显示库内容</marquee>