Response.Redirect可以重定向到anything, make sure the 流媒体文件 url exists
解决方案 »
- 正则表达式设置url长度的问题
- VS2008 怎么打开控制台输出?
- Profile 相关疑问
- 用asp.net如何实现下拉框无刷新二级联动
- Vs2005开发的报表服务器项目,是不是无法部署到 SQL 2000的Reporting Services上?
- 循环不是那么简单!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- ASP.NET2.0 中TreeView要如何设置才能在服务器端捕捉到它的事件(象ASP.NET1.0中的AutoPostBack=TRUE)
- 求助:提交按钮不能用了
- 进来讨论一下ASP.NET中的汉字编码问题
- 子页面做提交操作会弹出新窗口!!!请问该如何解决
- 我晕,装了MSDN2003,VS.NET的MSDN都成英文的了,倒
- 微软专家请进,超难问题!
Response.Redirect("rtsp://210.41.247.100/news/zhlm/swpi.rm")then the page is nothing——The page cannot be displayedwhy?
代码如下——<script runat="server" language="vb">
Sub Page_Load(Source As Object, E As EventArgs)
Dim MyConnection As SqlConnection = new SqlConnection("server=210.41.247.201;uid=anyone;PWD=205di214;DATABASE=elearning")
Dim sql as string = "select links from Content where ContentID='" & Request.QueryString("Id") & "'"
Dim MyCmd As New SqlCommand(sql,Myconnection)
MyConnection.Open()
Dim MyDataReader As SqlDataReader = MyCmd.ExecuteReader()
Dim url as string
MyDataReader.Read()
url = MyDataReader.GetString(0)
Response.Redirect(url)
MyDataReader.Close()
MyConnection.Close()
End Sub
</script>