I\'m new to programming and C# language. I got stuck, please help. So I have written this code (c# Visual Studio 2012):
private void button2_Click(object sen
Value return an object type and that cannot be compared to a boolean value. You can cast the value to bool
if ((bool)row.Cells[1].Value == true) { // what I want to do }