R
Ryan
I have a SQLDataSource I want to tie to the currently logged in user. Is
there any way to use User.Identity().Name as a Parameter in the datasource?
The only way I've got this to work is by creating a label (label1) and
OnInit() setting label1.text = User.Identity().Name. Then I can set the
SQLDataSource parameter to the value of the control, label1.
Thanks,
Ryan
there any way to use User.Identity().Name as a Parameter in the datasource?
The only way I've got this to work is by creating a label (label1) and
OnInit() setting label1.text = User.Identity().Name. Then I can set the
SQLDataSource parameter to the value of the control, label1.
Thanks,
Ryan