.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to pass multiple parameter inside gridview hyperlink control

Posted By: priya     Posted Date: March 08, 2009    Points:2   Category :ASP.Net
Hi Friends,
I need to pass multiple parameter inside gridview hyperlink control as a querystring.

for eg.

www.mysite.com?id=12&value=test

i am using Asp.net and c# as code language

please help me

Regards
Priya

Responses
Author: Athira Sreejith             
Posted Date: March 11, 2009     Points: 5   

Hi..

Try like this..

<asp:TemplateField HeaderText="Edit">
<ItemTemplate>
<asp:HyperLink ID="hypEdit" runat="server" NavigateUrl='<%# Eval("Id", "~/prospectsfirm.aspx?mode=Edit&&PFid={0}") %>'
Text="Edit Firm" ImageUrl="~/Images/ico-edit.gif"></asp:HyperLink>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend