Member Avatar

Hi, I'm trying to render a checkbox in a datagridview column header so that when the checkbox is checked/unchecked all the cells in that column should be checked/unchecked accordingly. The datagridview is bound to a database table but the column containing the checkbox header cell is unbound. The problem is, whenever i click the header checkbox, all the cells in that column are checked but the header checkbox itself gets invisible. If I click the HEADER (though the checkbox is invisible, still I can click the header) again, all the cells in the column below are unchecked and the header …

Member Avatar
+0 forum 2
Member Avatar

Hi there!... i was seeing some codes in Python, but i can't understand it, so... i really don't want learn phyton, by that reason i want to know some things (specific things) for try convert it, now... if someone can convert it for me, i'll be sooo glad :P. Here's the code: [CODE]# Modules import random #------------------------------------------------------------------------------ # Constants KNIGHT = -1 #------------------------------------------------------------------------------ # Class class knightTour(object): """ Knight's Tour """ def __init__(self, row=8, col=8): self.row = row self.col = col self.knight = None self.top = (row * col) - 1 self.grid = [0] * self.row for i in range(self.row): …

Member Avatar
+0 forum 3

The End.