且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

asp.net的Response.Write

更新时间:2023-12-05 22:45:28

在你的极其有限的$ C $工作c,你有两个选择,因为我看到它... ...

Working on your exceedingly limited code, you have two options as I see it...

重定向到 NewAccommodation.aspx ,然后从那里写出了警报的剧本

Redirect to NewAccommodation.aspx and then write the "alert" script from there

或发送以下....

Response.Write("<script type='text/javascript'>")
Response.Write("alert('Konaklama Başarıyla Eklendi');")
Response.Write("document.location.href='NewAccommodation.aspx?mID=" + mID.ToString() + "';")
Response.Write("</script>")