bdsnv
asked on
an example how to read all textboxes in form
Hi
can anyone find me something (link or example) how to read all names and values from all the textboxes of a page.
The user will get a list of items with a textbox where the user should type the amount or any other value.
I'll use something like the repeat region (dreamweaver) to make these rows from Sql server 2000.
After all values are set the user should click at the button "update all".
I dont prefer the datagrid because you have to (clickon) edit each time you want to edit one record.
Please show me the aspx example using VB.
thank you guys
can anyone find me something (link or example) how to read all names and values from all the textboxes of a page.
The user will get a list of items with a textbox where the user should type the amount or any other value.
I'll use something like the repeat region (dreamweaver) to make these rows from Sql server 2000.
After all values are set the user should click at the button "update all".
I dont prefer the datagrid because you have to (clickon) edit each time you want to edit one record.
Please show me the aspx example using VB.
thank you guys
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am not a VB person....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
no problem naming the textboxes. I can put the id-field e.g. tbox1001,tbox1002 and so on.
can you show me the loop in vb?
Dim loopresult
Dim fieldID
Dim fieldValue
For...
loopresult=loopresult & fieldID & "=" & fieldvalue";"
something simple like that.
I can send this loopresult to sql server where i can update the records individualy with e.g. triggers /procedures.
thnks