Format SQL query string using asp:loginname

L

Loopsludge

ASP.NET 2.0/ SQL Server 2005/ Login Controls

Does anyone know how to format a SQL query string using asp:loginname
in the WHERE clause?

Alternatively would I need to store the login name upon login w/in a
Session variable?

Can someone give me an example?

Thanks,
Loopsludge
 
G

Guest

Well you could use a parameter for the where clause and then set that
parameter to be a ControlParameter that with the ControlID property set to
the ID of your <asp:LigonNAme> control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top