Click here to Skip to main content
13,143,774 members (31,896 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am using a Repeater which contains 5 columns which are Table1,Table1Count,Table2,Table2Count,DifferenceInCount.DifferenceInCount is the Linkbutton column where it will give the difference between Count1 and Count2.

What i need to do is if the count Difference is comes as 0(zero),the i need to make the corresponding linkbutton as label field.Can anyone please help me in doing this...
Posted 10-Sep-12 3:56am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If the count results in zero, you may mark your link-button as follows:-
linkbutton01.Enabled = false
And then if the count is more than zero,
linkbutton01.Enabled = true.
I hope by this, your problem can be resolved.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 10 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100