Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

This question was on StackOverflow, but I thought this would be a better place for it.

I am using asp:SqlDataSource to pull data and display this in a repeater control.

What I would like to do is use the Sharepoint LoginName as a parameter to add into my query but have been going round in circles trying to find out how to do this.

This control:

<asp:LoginName runat="server" id="LoginName1"></asp:LoginName>

Pulls the value that i need to use but I cannot seem to get this into the <SelectParameters> of my datasource.

I have also tried the <asp:profileparameter> but I am either not using it correctly or I need some extra config.

share|improve this question
    
please delete the question on Stack Overflow, then. Don't post the same question on multiple sites. –  teylyn Jul 3 '13 at 3:47
    
StackOverflow question has been deleted. –  Rick Jul 3 '13 at 4:00
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.