troubleshooting Question

How do I use the LoginName control in ASP.net as a variable?

Avatar of nephite
nephite asked on
.NET ProgrammingASP.NETVisual Basic.NET
1 Comment1 Solution371 ViewsLast Modified:
I am developing a web program in ASP.net.  I have a LoginName control on in program that will display the name of the logged in user.  I want to be able to tell the program to retrieve information on the user from the database by pointing to the LoginName control.  But when I Configure my sqldatasource to filter the database, it does not give the LoginName control as one of the choices.  How can I get the database to "see" the LoginName control to filter the data?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros