c#, How can i print in Datagridview each row center? -
i want print string datagridview.
i use code.
datagirdview.rows.insert('rownumber', 'string');
so, how can print string in datagridview each row center?
you looking datagridviewcellstyle.alignment property
gets or sets value indicating position of cell content within datagridview cell.
also check datagridviewcontentalignment enumeration
Comments
Post a Comment