| | |
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 2005 2008 access account array basic beginner bing browser button buttons center check code crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel fade file-dialog filter forms ftp generatetags google gridview html images input insert intel internet listview mobile monitor net networking objects open output panel passingparameters pdf picturebox port position print printing problem remove save searchbox searchvb.net select serial settings shutdown soap sqlserver survey table tcp temperature text textbox timer timespan toolbox transparency trim update user vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode year





