I have a DataGrid tied to an adodb recordset built from an sql query, and works fine. In order to improve display format, I tried to center the data the DataGrid columns display and the header text, using MyDataGrid.columns(i).aligment = dbgCenter, but it centers only the data the column display not the column header text. Before posting this thread, I searched on Internet, but only found examples that apply for VB.Net

If anybody could give a hand on it I really appreciate it