I want to change the back color of the button.
i know this: button1.BackColor = System.Drawing.Color.Yellow;
But I don't know how to get the name of the button from DataGridView. i try this but it is not working
string butttonn = "table"+c.ToString();
butttonn.BackColor = System.Drawing.Color.Yellow;
i want to if button name existing access database button.BackColor change to green and if button name does not existing button.BackColor change to red.
i dont know english . I hope I was able to express myself.
thank you guys i fixed this: