This is a migrated thread and some comments may be shown as answers.

[Solved] membership info for update parameters

2 Answers 137 Views
Grid
This is a migrated thread and some comments may be shown as answers.
cwk
Top achievements
Rank 2
cwk asked on 12 Jun 2009, 03:08 AM
Hi, I am using update parameters in radgrid for passing to stored procedures.

I would like to pass the membership userid to the stored procedures as well. is this supported? if not, how about session variables. thanks.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 Jun 2009, 06:48 AM
Hi,

Yes you can pass the Membership UserID as an update parameter to the Stored Procedure once the UserID is bound to the Grid. You may set the UserID as Gridcolumn and hide the column if you don't want to show it in the Grid using the Display/Visible property.

Shinu.
0
cwk
Top achievements
Rank 2
answered on 12 Jun 2009, 09:42 AM
Thanks, Shinu.

My selection also called using stored procedures, how do I 'add' the user id column to the radgrid. Maybe can help to provide a definition on the column? appreciate your reply.
Tags
Grid
Asked by
cwk
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
cwk
Top achievements
Rank 2
Share this question
or