Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2006, 05:02 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default Including variables in a Gridview's HyperLinkField

Hi All

Still pretty new to ASP.Net2..

How would I include a variable within a Gridview's HyperLinkField along with the typical SQLDatasource data fields?

Here is what I have so far but falls over... in CODE AND CAPS is where I corrupt the poor thing:

[code]<asp:HyperLinkField DataNavigateUrlFields="UserID,CountryID"
DataNavigateUrlFormatString="iplp1.aspx?plp={0}&ui d={1}&cid={2}&VAID=<%= INTVAID %>" Text="Edit" HeaderText="Edit PLP" />[code]

Any help would be appreciated.

Many thanks

Rit
__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER





Similar Threads
Thread Thread Starter Forum Replies Last Post
Return value of HyperLinkField VadimZ ASP.NET 2.0 Professional 7 August 14th, 2007 12:21 PM
Including Other Project notrosh Visual C++ 1 April 23rd, 2007 12:09 AM
Including an .ocx dartcoach VB How-To 9 November 13th, 2006 01:37 PM
Hyperlinkfield GuyB ASP.NET 1.0 and 1.1 Basics 0 September 5th, 2006 01:16 AM
asp:HyperLinkField color change vkv ASP.NET 2.0 Professional 0 July 6th, 2006 06:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.