G
Guest
I have a DataGrid Hyperlink column as shown here. I'm trying to pass the
JobNum parameter as shown. The JobNum parameter is the webform's
Request.Querystring("JobNum").
I can't find out how to format this syntax correctly, as
Request.Querystring("JobNum") causes a compilation error in the HTML. Could
someone please let me know how I can reform this HTML? Currently I get the
error "Compilation Error" when the page loads.
<asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container,
"DataItem.FlitchNum") & "&JobNum=" & Request.Querystring("JobNum")) %> '
NavigateURL='<%# "Logs_Usage.aspx?id=" & DataBinder.Eval(Container,
"DataItem.FlitchNum") %>' Target="_self" ID="HL99"
Name="HyperLink1"></asp:HyperLink>
JobNum parameter as shown. The JobNum parameter is the webform's
Request.Querystring("JobNum").
I can't find out how to format this syntax correctly, as
Request.Querystring("JobNum") causes a compilation error in the HTML. Could
someone please let me know how I can reform this HTML? Currently I get the
error "Compilation Error" when the page loads.
<asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container,
"DataItem.FlitchNum") & "&JobNum=" & Request.Querystring("JobNum")) %> '
NavigateURL='<%# "Logs_Usage.aspx?id=" & DataBinder.Eval(Container,
"DataItem.FlitchNum") %>' Target="_self" ID="HL99"
Name="HyperLink1"></asp:HyperLink>