Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 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 Professional 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 June 8th, 2006, 04:52 AM
Authorized User
 
Join Date: Jul 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hyperlink Problem

Can anyone help me out in creating a link through the following lines of code.

dRowBasicPortFolio[2] = "<A href='../EventsCalendar/default.aspx?company=" + dRow[13] + "'>" + dRow[3] + "</a>";

The C# code is not able to interprate this code properly.

Iam getting the value of dRowBasicPortFolio[2] in the form of string with the value of dRow[3]

 
Old June 8th, 2006, 08:32 AM
Authorized User
 
Join Date: Jul 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok i think nobody is getting my problem.Lets say straightforward.
I want to get the data in the form of hyperlink ( say the output of dRow[3] between 2 plus in the hyperlink but iam getting the output as a string which is "<A href='../EventsCalendar/default.aspx?company=" + dRow[13] + "'>" + dRow[3] + "</a>". Though im getting the value of dRow[13] but not in the form of hyperlink but in place of dRow[13] in the string.
Does it means that VC# 2005 doesn't support single quotation marks while writing such ASP.NET code tags in string.Or it means that Gridview control in VC# 2005 does not support this type of functionality.

Help me. Iam in very urgent need of it!!!!

 
Old June 14th, 2006, 09:36 AM
Authorized User
 
Join Date: Jun 2005
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to aldwinenriquez
Default

Try my solution bro :

http://p2p.wrox.com/topic.asp?TOPIC_ID=45307


Aldwin Enriquez
"Dont you ever give up!"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Hyperlink JaffAJob Word VBA 3 August 28th, 2007 11:50 AM
hyperlink problem hastikeyvan Classic ASP Professional 5 January 22nd, 2007 07:03 PM
HyperLink Problem monika.vasvani ASP.NET 1.0 and 1.1 Professional 2 September 30th, 2006 05:17 AM
hyperlink problem Abhinav_jain_mca General .NET 3 August 27th, 2004 07:54 AM
hyperlink problem Abhinav_jain_mca SQL Server 2000 1 August 25th, 2004 01:43 PM





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