Click here to Skip to main content
15,910,886 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a datalist. inside datalist i insert a link button. it show a all number of hotel on page load. the code is
<asp:DataList ID="DataList1" runat="server" RepeatColumns="3"DataValueField="StationCode" onitemcommand="DataList1_ItemCommand" >
<itemtemplate>
<asp:LinkButton ID="LinkButton" runat="server" Text='<# Eval("StationName")>' onclick="LinkButton1_Click" >LinkButton



this show all the hotel in link button. now i want that when i click on any station name the control is redirect on next page and the station name also pass in the next page inside the query string. please suggest code.
Posted
Updated 26-Nov-13 0:05am
v2
Comments
Er Daljeet Singh 26-Nov-13 4:31am    
What have you tried and where is the problem?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900