Is it possible to take the value from a string variable from a code-behind file and display it in this markup?
<h1>People Authorized to Release Children for <TheVariableGoesHere> </h1>
The variable we would like to include is called strForename.
Protected Sub GridViewParentsSummary_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GridViewParentsSummary.SelectedIndexChanged
IntParentsID = GridViewParentsSummary.DataKeys(GridViewParentsSummary.SelectedIndex).Value
strForename = GridViewParentsSummary.DataKeys(GridViewParentsSummary.SelectedIndex).Values("Forename")
blnAddModeIsSelected = False
Response.Redirect("AuthorizationForChildReleaseDetails.aspx")
End Sub
The way this would be accomplished is through a code behind method being called.
Something like this for C#
or this for VB.NET
and in code behind C#
or in VB.NET