| | |
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 |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic beginner browser button buttons center checkbox client code convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel fade filter forms ftp generatetags gridview html images inline input insert intel internet lib listview mobile monitor net objects open panel passingparameters pdf picturebox port position print printing problem read remove save searchvb.net select serial settings shutdown soap sorting sqlserver survey table temperature textbox timer timespan transparency trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web webbrowser winforms wpf wrapingcode year





