返回首页

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click

 

        Dim objadd As New School

        Try

            If objadd.SearchSchool(txtemiscode.Text).Rows.Count >= 0 Then

 

                Response.Redirect("Emis_Sch_View.aspx?EmisCode=" & txtemiscode.Text)

            End If

            MsgBox("School does not Exists")

        Catch ex As Exception

            MsgBox(ex.Message)

        End Try

        

    End Sub

回答

评论会员:游客 时间:2012/02/04
SAKryukov:什么是在对这个问题的标题写的是不是真实的。不,你没有收到此错误信息,我保证。mdash;水杨酸
标记Nischalke
评论会员:游客 时间:2012/02/04
{C}这是停止所有进一步的处理,这之后,你应该有什么。为什么你想使用ASP.NET应用程序中的MsgBox反正