1、自定义一个DataTable,添加列名
DataTable dt = new DataTable(); //添加的列名应与GridView中相应列的FieldName一致
dt.Columns.Add("自定义列1", Type.GetType("System.String"));
dt.Columns.Add("自定义列2", Type.GetType("System.String"));
...
2、往DataTable中添加行
DataRow newRow = dt.NewRow();
newRow["自定义列1"] = “内容”;
newRow["自定义列2"] = “内容”;
...
dt.Rows.Add(newRow);
3、将数据源绑定到GridControl上
gridControl1.DataSource = dt;