日期:2009-11-02  浏览次数:20761 次

1.如何在拉动滚动条时,背景图不动?
答:
2.Sql Server 数据库,想用OLE db连数据库,拜托诸位大虾指教,怎么连呀?
答:<%
    set cn=server.createobject("adodb.connection")
    cn.provider="sqloledb"
    cn.open "driver={SQL server};server=(Local);uid=sa;pwd=;
          database=your database"
    set rs=......


    %>
3.如何定义一个session 数组?
答:Dim MyArray()  
    Redim MyArray(5)
    Session("StoredArray") = MyArray
    用的时候这样:LocalArray = Session("StoredArray")
    LocalArray(1) = " there"
    Response.Write(LocalArray(0)&LocalArray(1))