I displayed data from the database in a page with datalist.datasource in aspx.vb and in the aspx page the itemtemplate within the <aspatalist>
e.g.:
Name: <asp:Label ForeColor=brown ID="Label1" runat="server" Text='<%# Bind("Name") %>' EnableViewState="False" /><br />
Address: <asp:Label ForeColor=brown ID="Label2" runat="server" Text='<%# Bind("Address") %>' EnableViewState="False" /><br />
<asp:Button ID="btnReserve" runat="server" Text="Go to Reservation" OnClick="btnReservation_Click" /><br />
So now I want to retrieve the "Name" item in another page named Reserve.aspx, when I click on "btnReserve".
How can I solve this?
e.g.:
Name: <asp:Label ForeColor=brown ID="Label1" runat="server" Text='<%# Bind("Name") %>' EnableViewState="False" /><br />
Address: <asp:Label ForeColor=brown ID="Label2" runat="server" Text='<%# Bind("Address") %>' EnableViewState="False" /><br />
<asp:Button ID="btnReserve" runat="server" Text="Go to Reservation" OnClick="btnReservation_Click" /><br />
So now I want to retrieve the "Name" item in another page named Reserve.aspx, when I click on "btnReserve".
How can I solve this?