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

You are currently viewing the ASP.NET 3.5 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 October 7th, 2011, 10:04 AM
Authorized User
 
Join Date: Oct 2004
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Modifying a db value before it's databound

Hi,

If I want to modify a db value as it's about to be bound, in for example a gridview, how do I do this? For instance, I may want to change a name field as 'anonymous' dependent on certain conditions. I can change the formatting of the value on rowdatabound but not the value itself.

regards, Guy

Last edited by guynorton; October 7th, 2011 at 10:34 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Add gridviewrow in databound dlanglois ASP.NET 2.0 Basics 1 December 17th, 2008 08:41 AM
Databound Dropdown fullingdale ASP.NET 2.0 Basics 2 June 20th, 2008 02:33 AM
Getting a databound value from datalist contrrol almotions ASP.NET 2.0 Basics 8 April 23rd, 2008 09:00 AM
databound headertemplate collie VB.NET 2002/2003 Basics 0 March 7th, 2005 10:31 AM
Databound List Box Kunkel VS.NET 2002/2003 2 November 7th, 2003 01:38 PM





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