Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to a html table border attribute on gridview row databound at codebehind
Posted
Comments
Jameel VM 6-Mar-13 0:43am    
Using jQuery you can easily change the table border dynamically.

1 solution

You can add by using Attributes any control..in code behind

C#
HtmlTable tbl = new HtmlTable();
tbl.Attributes.Add("Style", "border:1px solid #ccc");
 
Share this answer
 
Comments
Member 8632652 9-Mar-13 0:20am    
thanks
Azziet 11-Mar-13 1:02am    
your most welcome

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