in webform.aspx has
<body>
<% String vdUser = Request.ServerVariables["AUTH_USER"]; %>
...
<asp:SqlDataSource ID="dg_vendorTrk" runat="server"
ConnectionString="<%$ ConnectionStrings:conn_vendor_server %>"
...
UpdateCommand="UPDATE table1 SET vdLogAs=@vdUser WHERE (vdId=@vdId)" >
<UpdateParameters>
<asp:QueryStringParameter Name="vdUser" DefaultValue="<%= Request.ServerVariables["AUTH_USER"] %>" />
</UpdateParameters>
</asp:SqlDataSource>
Please HELP, how can i pass a vdUser to either UpdateCommand or UpdateParameters
<body>
<% String vdUser = Request.ServerVariables["AUTH_USER"]; %>
...
<asp:SqlDataSource ID="dg_vendorTrk" runat="server"
ConnectionString="<%$ ConnectionStrings:conn_vendor_server %>"
...
UpdateCommand="UPDATE table1 SET vdLogAs=@vdUser WHERE (vdId=@vdId)" >
<UpdateParameters>
<asp:QueryStringParameter Name="vdUser" DefaultValue="<%= Request.ServerVariables["AUTH_USER"] %>" />
</UpdateParameters>
</asp:SqlDataSource>
Please HELP, how can i pass a vdUser to either UpdateCommand or UpdateParameters