| | |
Ref. 20 textboxes on a form numerically
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2005
Posts: 12
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Robert Walker
I have a list of 20 textboxes on a form. each textbox is a record in a table. I want to loop through the textboxes if posible:
for x = 1 to 20
sStmt = "update list_table set"
sStmt += " docu = '"+??textbox_x??+"'"
sStmt += " where id_code = "+id_code
sqlexe(sStmt, oConn)
next
I did get it to work with
For x = 0 To Me.tabPAGE1.Controls.Count - 1
sStmt = " document = '" + Me.tabPAGE1.Controls(x).Text + "'"
Next
but I'm looking for a way to identify a textbox with a string
![]() |
Similar Threads
- let me know d steps to connect to oracle(sql) from vb6 (Visual Basic 4 / 5 / 6)
- vb express database autonumber problem. (VB.NET)
- a blank form to insert data???? (Visual Basic 4 / 5 / 6)
- Calculation in FormView part 2 (ASP.NET)
- combobox question (VB.NET)
- Delete from a listbox (Visual Basic 4 / 5 / 6)
- Help with querys please (PHP)
Other Threads in the VB.NET Forum
- Previous Thread: Having problems with adding a row to a DataSet
- Next Thread: Pass a two character
| Thread Tools | Search this Thread |
.net .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons center click code combo cpu cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic editvb.net employees excel exists fade filter forms html images isnumericfuntioncall listview map mobile module msaccess mssqlbackend mysql net number objects open pan panel pdf picturebox picturebox2 port position print printing printpreview record regex reuse right-to-left save search serial settings shutdown socket sorting sqldatbase sqlserver storedprocedure survey temp temperature textbox timer timespan transparency txttoxmlconverter usercontol vb vb.net vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winforms wpf wrapingcode xml year





