title: How to align right dynamically created column content in a datagridview
body: <p>I am developing a desktop application using Visual Studio 2013 in C#. I have a datagridview of which its some columns are created dynamically whereas some are static. I want to align my dynamically created columns content to right side of the cells. I can successfully align static columns, however <code>datagridview.DefaultCellStyle.Alignment</code> does not work for dynamically created columns. Any suggestions?</p>