hi i made a login page and created some user. now i like to make a sql queries with that user name. suppose username joe so he enter joe as a user name then login page sent to another page where sql qeries will be execute for that user: joe
so just wondeing how do i pass that username and make query with that. thanks
here is my login page :
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Login ID="Login1" runat="server" DestinationPageUrl="~/test.aspx"
Height="132px" Width="227px" >
</asp:Login>
</div>
</form>
</body>
</html>