By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,548 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

get object from Text. get the control textbox and read the screen text value

P: 1
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

Expand|Select|Wrap|Line Numbers
  1. dim Mytextbox as Textbox
  2.  
  3.  Dim MySqlCommand As String = "update " & MyReader("table") & " set " & MyReader("Field") & " = '" & Eval(MyTextbox.Text) & "'"
Mar 13 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.