请问如何取得TXTBOX的值?
汤臣一丁 2003-08-25 03:12:47 页面上的TEXTBOX控件是循环出来的,分别填了数以后,请问如何取得TEXTBOX的数值?
Dim Qty As Integer = Val(Request("Qty"))
Dim txtIMEI As TextBox
Dim i As Integer
'Response.Write("Qty=" & Qty)
For i = 0 To Qty - 1
Dim rows As New TableRow
Dim j As Integer
For j = 0 To 0
txtIMEI = New TextBox
txtIMEI.ID = "IMEI" & i
txtIMEI.MaxLength = 15
Dim ce As New TableCell
ce.Controls.Add(New LiteralControl(i + 1))
rows.Cells.Add(ce)
ce = New TableCell
ce.Controls.Add(txtIMEI)
rows.Cells.Add(ce)
Next j
imei_Table.Rows.Add(rows)
Next i
就是如何取得txtIMEI.Text?