Wrox Programmer Forums
|
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 April 9th, 2007, 06:27 AM
Authorized User
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default Hyperlink Column

Hi frnds.
I was trying to have a hyperlink column in datagrid to which i can bind two values ...
like

[u]Komila (1)</u>

Komila is one fiels from dataset and (1) is second field from dataset.

How can i do that.? pl.

__________________
Komila Kalia
Software Developer
Reliance engineering Associates (P) Ltd.
 
Old April 9th, 2007, 06:48 AM
Authorized User
 
Join Date: Aug 2006
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Default

hi

can you obtain a single column by concatenating two columns in one by editing your sql. give this column a name and bind it with required hyperlink column.

nitin

 
Old April 9th, 2007, 10:13 PM
Authorized User
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

thanks nitin.

but i have to pass only one field as a querystring.
If i concate two fields that solve my problem during representation but during passing this field on hyperlink, the same two fields pass.
so that is not useful 4 me.

pl if u can suggest something new,
I have tried with a template column with item template and in that item i have used hyperlink but it is giving me error "Serer Tag not well formed:.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink column Komila .NET Framework 2.0 3 May 19th, 2007 02:40 AM
Editing Datagrid with hyperlink column shs BOOK: Beginning ASP.NET 1.0 0 October 24th, 2004 12:13 AM
Hyperlink column in datagrid not working ltdanp21 General .NET 1 July 13th, 2004 03:04 PM





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