Click here to Skip to main content
15,945,119 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to hide the rows which are displaying files and it can be hidden if we display data in gridview but here i am creating table and adding rows in that programmability so i dont have id for dynamically created rows. so I am not able to use javascript also for the same.
can u give me any lead or clue to hide the particular row.

[Edited]Fixed Minor Spelling Errors[/Edited]
Updated 19-Nov-11 2:25am
Pandya Anil 18-Nov-11 7:25am    
cant you do it in rowdatabaound event ?
RaviRanjanKr 19-Nov-11 8:26am    
A suggestion :- Never use Short text words like m instead of am.

1 solution

Create ID for every row when you are creating rows dynamically.

Check this

Hide a table[^](Check the code)

FYI HtmlTable Class[^]
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