private ComplexBorderSide borderStyle;
private ComplexBorder complexBorder;
borderStyle = new ComplexBorderSide(Color.Black, 1, DashStyle.Solid);
complexBorder = new ComplexBorder(null, null, borderStyle, null);
sprList_Sheet1.ColumnHeader.Cells[0, 1].Border = complexBorder;
sprList_Sheet1.ColumnHeader.Cells[1, 17].Border = complexBorder;
sprList_Sheet1.ColumnHeader.Cells[2, 20].Border = complexBorder;
sprList_Sheet1.ColumnHeader.Cells[0, 21].Border = complexBorder;
sprList_Sheet1.ColumnHeader.Cells[1, 37].Border = complexBorder;
sprList_Sheet1.ColumnHeader.Cells[2, 40].Border = complexBorder;
sprList_Sheet1.Columns[20].Border = complexBorder;
sprList_Sheet1.Columns[40].Border = complexBorder;private ComplexBorderSide borderStyle;