bascially,.. assuming your id's are all in sequence... but you will probably find that they won't be in sequence...
so you will have to loop through your request object, find all the objects whose name starts with update. slice the id off the end of the name and then do your update...
something more like...
Code:
for each item in Request
if left(item.key,6 = "txtOrder_") then
myId = mid(item.key,10)
txtOrderValue = request("txtOrder_" & myId)
if txtOrderValue <> "" then
strSQLUpdate = "UPDATE test SET ordernum = & txtOrderValue & WHERE ID =" & myId
adoCon.Execute strSQLUpdate
end if
end if
next