Click here to Skip to main content
15,911,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir
i want to navigate from one page to another page in the gridview and want to take the respected value of that particular row of gridview with the help of querystring.
but i am getting error. i have the code as below.
please tell what's the wrong i am doing.
thanks

C#
<a href="<%#" _id=")+&Item=+DataBinder.Eval(Container.DataItem," _item=") %>"> Edit  </a>
Posted
Updated 10-Jun-12 8:30am
v3

1 solution

...and the code below is where again? ;)
 
Share this answer
 
Comments
manu027 10-Jun-12 12:31pm    
in a first way i am doing this

<asp:HyperLink ID="HyperLink1" runat="server" DataNavigateUrlFields="_ID, _ITEM"
DataNavigateUrlFormatString="AddNUpdate.aspx?ID=_ID&ItemName=_ITEM" NavigateUrl="~/ItemType/AddNUpdate.aspx?ID=+DataBinder.Eval(Container.DataItem,"_ID")&ItemName=+DataBinder.Eval(Container.DataItem,"_ITEM")"
Text="Edit" />


and another one is

Edit
manu027 10-Jun-12 12:32pm    
manu027 10-Jun-12 12:32pm    
another way is

Edit

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