klipkop
Posts: 16
|
Posted: 07/03/2007, 3:25 PM |
|
Hi
I need some help / direction
I am using a editable grid with text boxes and listboxes. The user set values for SOME of the rows and then click on checkbox. All the selected checkboxes must then be inserted in a new table including the values specified e.g. in the listboxes (I know the many to many listbox way but I need to set values as well)
My problem is: Accoring to Nicole's post in Tips and tricks I can ref the control values by looping through each row.
Dim j
for j = 1 to form_name.PageSize + form_name.EmptyRows
if len(CCGetParam("field_name_" & Cstr(j), Empty))>0 then
response.write "Field value in row " & j & " is:" & CCGetParam("field_name_" & Cstr(j), Empty) & "<br>"
else
response.write "Field value is row " & j & " is empty<br>"
end if
next
My question is how do you pass these values on to a stored procedure. Surely you can't pass each individual value on since the number of rows can change...
Help will be appreciated
|
|
|
|