daniel50096230
June 8th, 2009, 09:02 PM
I have the following which will pass the parameter to another page.
<asp:HyperLink id="ViewHyperLink" runat="server" text='<%# Container.DataItem("InvoiceNo") %>' cssclass="databaseListAction" NavigateUrl='<%# String.Format("~/Transaction/ArInvoice.aspx?INo={0}",DataBinder.Eval(Container.DataItem,"InvoiceNo"))%>' >
But the problem is it can't pass the parameter to that page.
In another page,I had the following code to capture the parameter.
Label1.Text=Session("INo")
<asp:HyperLink id="ViewHyperLink" runat="server" text='<%# Container.DataItem("InvoiceNo") %>' cssclass="databaseListAction" NavigateUrl='<%# String.Format("~/Transaction/ArInvoice.aspx?INo={0}",DataBinder.Eval(Container.DataItem,"InvoiceNo"))%>' >
But the problem is it can't pass the parameter to that page.
In another page,I had the following code to capture the parameter.
Label1.Text=Session("INo")