Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,

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

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900