M
Morten Snedker
Im trying to set value of a textbox, but it fails.
txtBox.Text = obj.Effekt does nothing on the page, but the last one
does.
Fieldname is positively correct.
What am I doing wrong?
Dim listNr As String = Right(ListName, 1)
Dim FieldName As String = "txt5" & listNr & "_effekt"
Dim txtBox As New TextBox
txtBox.ID = FieldName
Dim obj As Naturgas
obj = CType(_naturgasList(idx), Naturgas)
txtBox.Text = obj.Effekt
Me.txt51_effekt.Text = obj.Effekt
/Snedker
txtBox.Text = obj.Effekt does nothing on the page, but the last one
does.
Fieldname is positively correct.
What am I doing wrong?
Dim listNr As String = Right(ListName, 1)
Dim FieldName As String = "txt5" & listNr & "_effekt"
Dim txtBox As New TextBox
txtBox.ID = FieldName
Dim obj As Naturgas
obj = CType(_naturgasList(idx), Naturgas)
txtBox.Text = obj.Effekt
Me.txt51_effekt.Text = obj.Effekt
/Snedker