enforcerviper
Mar 6th, 2007, 11:26 AM
I'm using the LoginName control on my aspx webpage.
To get the username I use the following:
<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?
To get the username I use the following:
<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?