c# code to use some graphics in gridview table.

Posted by Shamil123 under C# on 2/7/2011 | Points: 10 | Views : 1916 | Status : [Member] | Replies : 3
hello friends,

i need a C# code "to use some graphics or color changes to gridview table when rows are inserted in the gridview"
this action should happen when ADD button is clicked.



Thanks in advance,


regards,

shamil




Responses

Posted by: Sagarp on: 2/7/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi

Ref
http://msdn.microsoft.com/en-us/library/aa479350.aspx

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

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

Posted by: Karthikanbarasan on: 2/7/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25
Posted by: Tripati.patro on: 2/18/2011 [Member] Starter | Points: 25

Up
0
Down
Nice Article by Karthik.

Or if we know the particular rows to which color need to apply then we can use this code:

MyGridView.Rows[indx].BackColor = Color.Gray;


B.Tripati Patro
Oracle Certified Associate

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

Login to post response