Datagrid item to hyperlink ?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngdatagridrepeaterdatalist' list.


Nick
how to change the datagrid item to a hyperlink ? can i change it ??
dgValues.Items(iCount).Cells(1).Text <-- this my datagrid item
I got this problem when i load my data from my database using datagrid and couple of data i want to make a hyperlink so i dont know how to do that

Sample
Dept Store Owner Address
Carlia Avanue St
Vanshia Colorado St <-- Vanshia is yhperlink
Santa Markire St <-- Santa is hyperlink
Ahmed Garlic St

How ???
Reply to this message...
 
    
Jacob Kruger
Use a Template Column including a hyperlink control where the
NavigateURL property is databound to your value.

Cheers

Jacob Kruger
Web Developer
Click here to reveal e-mail address
-----Original Message-----
From: Nick [mailto:Click here to reveal e-mail address]
Sent: 02 August 2002 09:24
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] Datagrid item to hyperlink ?

how to change the datagrid item to a hyperlink ? can i change it ??
dgValues.Items(iCount).Cells(1).Text <-- this my datagrid item
I got this problem when i load my data from my database using datagrid
and couple of data i want to make a hyperlink so i dont know how to do
that

Sample
Dept Store Owner Address
Carlia Avanue St
Vanshia Colorado St <-- Vanshia is yhperlink
Santa Markire St <-- Santa is hyperlink
Ahmed Garlic St

How ???

| [aspngdatagridrepeaterdatalist] member Click here to reveal e-mail address = YOUR ID |
http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp =
JOIN/QUIT

Reply to this message...
 
    
Nick
yes i know if using template colomn but how to select the data where i want
add as link or not as a link ?
I use add Row below this, can i change it to link ?
oRow = oTable.NewRow()

oRow("ProductName") = "Customer Total"

oRow("Total") = dOrderTotal

oTable.Rows.Add(oRow)

----- Original Message -----
From: "Jacob Kruger" <Click here to reveal e-mail address>
To: "aspngDataGridRepeaterDatalist"
<Click here to reveal e-mail address>
Sent: Friday, August 02, 2002 3:49 PM
Subject: [aspngdatagridrepeaterdatalist] RE: Datagrid item to hyperlink ?

[Original message clipped]

Reply to this message...
 
    
wafa_allyan
(Type your message here)

--------------------------------
From: wawawa dododo
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com