[求助]网站的新闻内容显示问题!
<script language="vb" runat="server">
public Ds As New DataSet()
sub page_load(Sender As Object, E As Eventargs)
Dim SqlStr,ConStr As String
SqlStr="Select * From news Where news_title='"
SqlStr+=request.QueryString("news_title")&"'"
ConStr="Provider=Microsoft.Jet.OLEDB.4.0;"
ConStr+="Data Source="&Server.MapPath("news.mdb")
Dim Da As New OleDbDataAdapter(SqlStr,ConStr)
Da.Fill(Ds,"news")
Repeater1.DataBind()
End sub
</script>
这段程序目的是想在一个空页里显示新闻标题所对应的新闻内容,也通过编译了,可是却无法显示,是哪里需要改进啊?请各位高手指点!如有类似功能的源代码,传上来供我借鉴也好,谢谢!