Click here to Skip to main content
15,905,616 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to hide tablecell in asp.net??

i try this one

tblTempDiff1.Attributes["style"] = "display:yes;";

hide all table i need how to hide Cell.



plz anyone can help me..
Posted
Updated 6-Mar-13 20:26pm
v3

1 solution

Check conditions you need in 'Grid_RowDataBound' event.
 
Share this answer
 
Comments
J.Karthick 7-Mar-13 3:29am    
Inside 'Grid_RowDataBound' event you can check your condition and set 'style' property for the specific row which statisfied your condition.

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