本文介绍了我需要执行Manupalation字符串,但是它给我一个错误,提示"THREAD was was beaboarted"....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

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



这将停止所有进一步的处理,此后您将一无所有.您为什么仍要尝试在ASP.NET应用程序中使用MsgBox?



This is stopping all further processing, you should have nothing after this. Why are you trying to use MsgBox in an ASP.NET application anyway?



这篇关于我需要执行Manupalation字符串,但是它给我一个错误,提示"THREAD was was beaboarted"....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 14:09