Advertisement

05.07.2008 at 12:04PM PDT, ID: 23383940
[x]
Attachment Details

How to format GridView cells as they are DataBinding

Asked by meerkat2040 in Microsoft Visual C#.Net, Programming for ASP.NET, WebApplications

Tags: Microsoft, Microsoft, C#, 2005

I have a DataView that displays items databound from a SELECT query.

ID,Description,Date

I want to create a hyperlink on the Description, so it posts back with the ID as part of a URL.

For example, the ID,Description might be:
25, "Customer Satisfaction Survey".

I'd like to change the text of the Description to "<a href="Default.aspx?command=display&id=25">Customer Satisfaction Survey</a>

I'm having trouble finding out how to read the data from the cell immediately after the row has databound.Start Free Trial
[+][-]05.07.2008 at 12:23PM PDT, ID: 21519543

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 12:39PM PDT, ID: 21519673

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.07.2008 at 12:50PM PDT, ID: 21519765

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 12:53PM PDT, ID: 21519794

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, Programming for ASP.NET, WebApplications
Tags: Microsoft, Microsoft, C#, 2005
Sign Up Now!
Solution Provided By: funwithdotnet
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628