I have a table of fields and textbox IDs.
I read the table and then want to be able to evaluate the .text in each record in my table.
IE Field textbox_Company
We want the runtime value of textbox_Company .text
Is there a dynamic way to do this
Following example is the idea that is not working
I read the table and then want to be able to evaluate the .text in each record in my table.
IE Field textbox_Company
We want the runtime value of textbox_Company .text
Is there a dynamic way to do this
Following example is the idea that is not working
Code:
dim Mytextbox as Textbox
Dim MySqlCommand As String = "update " & MyReader("table") & " set " & MyReader("Field") & " = '" & Eval(MyTextbox.Text) & "'"