是否可以从代码隐藏文件中的字符串变量中获取值并将其显示在此标记中?
<h1>People Authorized to Release Children for <TheVariableGoesHere> </h1>
我们想要包含的变量称为 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