I'm using the LoginName control on my aspx webpage.

To get the username I use the following:

Code:
<asp:LoginName ID="LoginName1" runat="server" />
Now I need to use the login name in the SQL SELECT FROM statement.

ie. SELECT * FROM LoginName

Anyone know how to do this?