Added Encoder

Added Encoder on the DatagridView