rachel_0094
New Member
I am creating a ticket sales application and I am having a little trouble with the passing some of the final values I needed.
I need the event ID from the ticket that is being purchased but I fill the form I need with the ticket ID already. It is being passed already on the page from the previous page when I select the event I need.
I need a way to convert the event ID from the label that is hidden on the page and pass it to the final page, along with the ticket ID as well (the ticket ID is what is being passed).
Here is what I am working with:\[code\]<asp:GridView ID="grdvSeats" runat="server" DataKeyNames="SeatID" AutoGenerateColumns="False" allowsorting="false" AllowPaging="false" emptydatatext="No records match the criteria provided." BorderWidth = "1px"> <Columns> <asp:HyperLinkField DataTextField="SeatName" DataNavigateUrlFields="SeatID" DataNavigateUrlFormatString="~/CheckOut.aspx?id={0}**&eID=lblEventID.Text**" HeaderText="Name" SortExpression="SeatName" /> </Columns></asp:GridView>\[/code\]
I need the event ID from the ticket that is being purchased but I fill the form I need with the ticket ID already. It is being passed already on the page from the previous page when I select the event I need.
I need a way to convert the event ID from the label that is hidden on the page and pass it to the final page, along with the ticket ID as well (the ticket ID is what is being passed).
Here is what I am working with:\[code\]<asp:GridView ID="grdvSeats" runat="server" DataKeyNames="SeatID" AutoGenerateColumns="False" allowsorting="false" AllowPaging="false" emptydatatext="No records match the criteria provided." BorderWidth = "1px"> <Columns> <asp:HyperLinkField DataTextField="SeatName" DataNavigateUrlFields="SeatID" DataNavigateUrlFormatString="~/CheckOut.aspx?id={0}**&eID=lblEventID.Text**" HeaderText="Name" SortExpression="SeatName" /> </Columns></asp:GridView>\[/code\]