System.Web.HttpContext.Current.User.Identity.Name as SqlDataSource property
<pre><code>  &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
      ConnectionString="&lt;%$ ConnectionStrings:FlowServerConnectionString %&gt;" 
      SelectCommand="SELECT [RepGroup_Name], [RepGroup_ID] FROM [Rep_Group] WHERE [RepGroup_ID] in
            (SELECT [ID_RepGroup]
            FROM [FlowServer].[dbo].[Rep_Permission]
            WHERE [ID_User]=@ID_User)"&gt;
      &lt;SelectParameters&gt;
          &lt;asp:ProfileParameter DefaultValue="" Name="ID_User" PropertyName="UserName" /&gt;
      &lt;/SelectParameters&gt;
</code></pre>

<p>How to insert System.Web.HttpContext.Current.User.Identity.Name to my property "ID_User" (it's username here)</p>
