Using class System.Drawing.Color.DataGrid1.BorderColor= Color.White;orDataGrid1.BorderColor=Color.FromArgb(255,255,255);You could utilize System.Drawing.ColorTranslator class also.DataGrid1.BorderColor=ColorTranslator.FromHtml("#ffffff");