>
>Thanks a lot, Paul. I meant a little bit different thing, e.g. I selected a record in a GridView and then I open a form (depending on the person type) to edit the record. The @PersonType parameter for Update should become the selected value from the grid.
>
>But I got the idea, so that's what I try.
>
Could you use the a ControlParamter and set it's PropertyName to "SelectedValue" and it's ControlID to the name of your grid?