Put color for table cell in runtime ....

Posted by Ramu02 under ASP.NET on 2/24/2012 | Points: 10 | Views : 735 | Status : [Member] | Replies : 1
Hi friends ,..
In my page I have one button , one label and table with (6columns and 6rows )..
when user click the button label get the value from database ..it may(1,2,3,4 or 5)..
if the value is 1 ..put red color for (2*2) cell..if label value is 2 put blue color for (3*3) cell ...if label value is 3 then put green color to (4*4)cell ...

THANKS All...




Responses

Posted by: Pradeepkumar417 on: 2/24/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

Go through this below link

http://www.dotnetfunda.com/tutorials/controls/table.aspx

Thanks & Regards,
Software Engineer,
Pradeep Kumar

Ramu02, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response