I have this value placed on my page. <%=Page.User.Identity.Name %> and it prints out my logged in User Name. I would like to get it into ny sql statement.
My code in code behind is:
protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
{
e.Command.Parameters["@User"].Value = Page.User.Identity.Name.ToString();
}
<asp:SqlDataSource ID Go to the complete details ...