Hi,
I'm using
<WebPartPages:DataFormParameter Name="staffname" ParameterKey="staffname" PropertyName="ParameterValues" DefaultValue="nlb"/>
to pass a Parameter to a SQL connection.
I need to replace the DefaultValue (nlb) with the LoginName of the sharepoint user.
Firstly, how can I do that?
Secondly, the Loginname returns domain\user = I need to remove the "domain\" before it is passed...
Any help would be appreciated...
Nathan