i have a datagridview which is populated with a DataTable & i am inserting a row to show sum of 1 column values inside it (in DataTable) and then providing it as Datasource to the datagridview.
the last row is nothing but "Total : %Number of records% %Sum Value%".
when the gridview sorts the above row is also sorted which i guess is obvious.
how can i prevent the above from sorting.
is there sumthing wrong in inserting a summary row in datatable itself, if so whts the other option to have similar functionality.
Thanks
尝试将最后一行的元素 ,以确保最后一行在其余部分排序时保持固定。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.