Hi. I need some help.
I want to display, in HTML, a subset of records from my SQL Server database, and a checkbox for each item. I want to allow the user to select an arbitrary amount of items, and then submit the results to SQL Server, whereupon it will process the results. For example, the user might select three records and choose 'delete'.
I can display the items in the browser just fine. But, I don't know how to deal with the user selecting more than one item. The Perl-style way is to give all the checkboxes the same 'name' attribute, and the submitted results arrive in the form of an array of their 'value' attributes. However, I don't know of a way to specify an array as an input parameter to an SQL stored procedure via an XML template.
Still reading?
Any help appreciated...
I want to display, in HTML, a subset of records from my SQL Server database, and a checkbox for each item. I want to allow the user to select an arbitrary amount of items, and then submit the results to SQL Server, whereupon it will process the results. For example, the user might select three records and choose 'delete'.
I can display the items in the browser just fine. But, I don't know how to deal with the user selecting more than one item. The Perl-style way is to give all the checkboxes the same 'name' attribute, and the submitted results arrive in the form of an array of their 'value' attributes. However, I don't know of a way to specify an array as an input parameter to an SQL stored procedure via an XML template.
Still reading?