r1xliquid
Posts: 41
|
| Posted: 05/02/2007, 10:10 AM |
|
I am trying to change the way a query is executed when i arrive on a page with a grid.
The grid is being populated by a stored procedure.
depending on what user is logged in i want to pass a parameter to the stored procedure accordigly.
If i were doing this with a table or view, i would put some code in the grid.beforeExecuteSelect that alters the datasource.where to produce what i am looking for.
but how can i dynamically change the parameter of the stored procedure before the page is displayed?
|
 |
 |
r1xliquid
Posts: 41
|
| Posted: 05/02/2007, 3:41 PM |
|
for reference:
this is for a form submited with post: grid.DataSource.Parameters("url"+controlName)=x
that does it!
|
 |
 |
|