Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 July 8th, 2003, 12:56 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default More datagrid manipulation

Also, is there a way to manipulate a specific cell's URL? As in, if datagrid row 2 has an Active status, I would like to set that cell's URL to a specific address at run-time...Possible? Once again, thanks in advance.
 
Old July 29th, 2003, 03:47 AM
Authorized User
 
Join Date: Jun 2003
Location: Quezon City, MM, Philippines.
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

Yes, this is possible, and I remember I already did this with one login application I built. I used a datatable to represent my data, and for the datatable I added a column containing the hyperlinks. Then, I simply had an if-else block that puts in the correct url depending on a certain row cell's value.

Cheers!
Marlon
 
Old July 29th, 2003, 05:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Wien, Wien, Austria.
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to NotNowJohn
Default

You can use ItemDataBound event:
http://msdn.microsoft.com/library/de...boundtopic.asp

...but the Soon is eclipsed by the Moon




Similar Threads
Thread Thread Starter Forum Replies Last Post
String manipulation Franco1 Visual Basic 2005 Basics 1 July 16th, 2008 12:53 PM
String manipulation pcase XSLT 5 June 14th, 2007 10:32 AM
file manipulation rajuru Pro PHP 0 November 7th, 2006 11:18 PM
Datagrid Items Manipulation Ashkan C# 0 December 2nd, 2003 11:14 AM
DataGrid manipulation burdickdave ASP.NET 1.x and 2.0 Application Design 1 July 8th, 2003 01:11 PM





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