which i created through gridview its showing first but i want that column in the last field..
please below snap which i selected that i created through gridview and other its coming from database. i want that select column in the last where A and B and A B column first...
so please advice me about how can i do this.. thanks..


ali tuncerRank #1,499 · 1.1K reputationPosted Mar 14, 2016, 2:02 AM EDT
Have you tried DisplayIndex property?
dataGridView1.Columns["COLUMNAME"].DisplayIndex = 0; //sets it as first column