Asking (1 Viewer)

accessman2

Registered User.
Local time
Yesterday, 16:12
Joined
Sep 15, 2005
Messages
335
Line 26: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Line 27:
Line 28: If MsgBox("Are you sure?", MsgBoxStyle.YesNo, "Message") = MsgBoxResult.No Then Exit Sub
Line 29: Label1.Text = "Hello"
Line 30:

Why there is error?

The code behind in ASP.NET, can we use this way?
 

Users who are viewing this thread

Top Bottom