CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Accessing editable grid’s controls for Use in Stored Procedure

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.