I have look into Here for solution but it would say index out of bound on when the datagridviewcell instance is being assigned with value,and also the function for datagridview on paint makes my gridview unable to display so i have to rollback my code.
and i want it to become something like