c# - Show grouped column in gridview -


I'm showing this down result in my gridview after querying DB.

Toronto Canada Ontario Hollton Canada Ontario Hamilton Canada Ontario Milton United Kingdom Wells Bangar United Kingdom Wales Cardiff United Kingdom Wales New Port United Kingdom Wales Swansea United States CA Los Angeles United States CA Mercedes United States CA Morgan Hill United States CA San Francesco

I have worked on Gridview, but how can I show results in Gridview like this? Canada Ontario Cambridge Hamilton Hamilton Milton United Kingdom Wales Banger Cardiff New Port

Public class GridDecorator {Public Static Zero MergeRows (GridView gridView) {for (int rowIndex = gridView.Rows.Count - 2; Row Index - gt; = 0; Row Indax - ) {GridViewRow Row = GridView.Rows [rowIndex]; GridviewVRRRRR = Gridview Ro [lineindex + 1]; For (int i = 0; i

}

  Protected Zero Grid ViIndender (Object Sender, EventEurges E) {Grid Decorator. Mergaro (Gridview); }  

Comments