我需要执行Manupalation字符串,但是它给我一个错误,提示"THREAD was was beaboarted".... [英] I need to do a Manupalation String, but it giving me an error says "THREAD WAS BEING ABOARTED"....

查看:113
本文介绍了我需要执行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?


此问题标题中写的内容不正确.不,您没有收到 this 错误消息,我保证.

—SA
What is written in the title of this question is not true. No, you did not receive this error message, I''ll guarantee that.

—SA


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆