Академический Документы
Профессиональный Документы
Культура Документы
End Sub
lstScheduledActivities.Items.Remove(lstScheduledActivities.SelectedValue)
Else
lblErrors.Text = "You should select at least one selected
seminar/course"
End If
'lblNumber.Text = lstScheduledActivities.Items.Count()
lblNumber.Text = nCount()
End Sub
Public Function nCount() As Integer
Return lstScheduledActivities.Items.Count()
End Function
body {
}
.Content {
width : 60% ;
margin:auto;
background-color : lightgray;
border : 1px ;
border-style : solid ;
border-color : black ;
border-radius : 3px;
#Footer {
color: yellow;
font-family: Verdana;
font-size: 12px;
background-color : blue;
}
Public SN As String
Public SC As String
Public ND As String
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
SN = Request.QueryString("qsSN")
SC = Request.QueryString("qsSC")
ND = Request.QueryString("qsND")
lblResponse.Text = "The student " & SN & " benefits from a total of
scholarship " & SC & " euros for a period of " & ND & " days."
End Sub
End Sub
' End If
' Return Scholarship
'End Function
'End Function
Public Sub btnMessage_Click(sender As Object, e As EventArgs) Handles
btnMessage.Click
Session.Add("sStudentName", txtStudentName.Text)
Session.Add("sScholarship", Scholarship)
Session.Add("sDays", days)
Response.Redirect("Message.aspx?qsSN=" & txtStudentName.Text & "&qsSC=" &
lblSch.Text & "&qsND=" & lblDuration.Text)
End Sub
NO1
End Sub
lstScheduledActivities.Items.Remove(lstScheduledActivities.SelectedValue)
Else
lblErrors.Text = "You should select at least one selected
seminar/course"
End If
'lblNumber.Text = lstScheduledActivities.Items.Count()
lblNumber.Text = nCount()
End Sub
Public Function nCount() As Integer
Return lstScheduledActivities.Items.Count()
End Function
body {
}
#Header {
font-size : 40px;
background-color: gray;
color:yellow;
border-bottom :double 5px red;
margin-bottom : 30px;
.Footer {
background-color: #666633;
font-family: Verdana;
font-size: 10px;
color: #FFFFFF;
vertical-align: middle;
text-align: center;
}
#Content {
color: blue;
}