Passing parameter of unknown type
Posted on 2009-04-10
I have a page from which the user selects a procedure to execute. Each procedure may be linked to one or more parameters (stored in a db table as a string value and a single character, indicating the type).
Once the user has selected the procedure, he or she is then able to populate the parameters.
When the user hits the "Execute" button I want to pass the procedure name and parameters to the datalayer which will do the retrieval.
1. Number of paraneters per procedure varies (some have no parameters)
2. The parameter types vary
How can I do this?
In advance, thanks!!!