Created
November 13, 2009 23:00
-
-
Save Raynes/234248 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub TakeVacation() | |
Dim Vacation As String | |
Dim Approved As String | |
If Approved = "Yes" Then | |
Vacation = "Is Approved" | |
Else : If Approved = "No" Then | |
Vacation = "Denied" | |
End If | |
End If | |
ClientScript.RegisterStartupScript(Me.GetType(), "Your Boss"", String.Format("alert('Your Vacation Request is {0}');", Approved.Replace("'", "\'")), True) | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment