Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How to make DataNavigateUrlFormatString change programatically

Avatar of daforga
daforga asked on
C#ASP.NET
5 Comments1 Solution645 ViewsLast Modified:
I am working on an asp.net app in VS 2008 C# code behind.  In my aspx pasge I have a data grid with the first column defined as:
  <asp:HyperLinkField HeaderImageUrl="~/Images/icon_Detail.gif"
    DataNavigateUrlFormatString="OrgDetails.aspx?Org_ID={0}"
    DataNavigateUrlFields="Org_ID" Text="View" />
This worked fine until I got a user request to make the target page of this hyperlink vary depending on the account status of the client.  
Can anyone tell me how this can be accomplished?
Thanks
daforga
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers