我在页面 A 上有文本框。这些文本框位于转发器内。我想在 B 页上访问它们的值。但是,使用 Request.Form 返回 Null。
Dim condition4 As String = Request.Form("condition4")
Dim condition3 As String = Request.Form("condition3")
Dim condition2 As String = Request.Form("condition2")
Dim condition1 As String = Request.Form("condition1")
''''''''''''''''''''''''''''''
hcondition4.Value = condition4
hcondition3.Value = condition3
hcondition2.Value = condition2
hcondition1.Value = condition1
For ii As Integer = 1 To 4
Dim CurrentCondition As HiddenField = FindControl("hcondition" & ii)
Dim CurrentConditionValue As Decimal = CurrentCondition.Value
Dim CurrentPrice As Integer = UsedPrice * CurrentConditionValue
我已经尝试过作为字符串和作为十进制。仍然返回 null