当前位置:网站首页>C winfrom DataGridView click on the column header can not automatically sort the problem
C winfrom DataGridView click on the column header can not automatically sort the problem
2022-04-23 21:25:00 【Plant a sweet smell】
@C# winfrom datagridview Clicking on the column header cannot automatically sort the problem
winfrom datagridview Automatic sorting of column headers
The phenomenon : We're binding DataGridView.DataSource after , Set the sort of the list to Automatic after , Cannot automatically sort

Solution :
Set up DataGridView.DataSource by datatable that will do , If the data source is list, Then you need to turn around datatable.
版权声明
本文为[Plant a sweet smell]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/110/202204200619557165.html
边栏推荐
- 1. Finishing huazi Mianjing -- 1
- Pipes and xargs
- Presto on spark supports 3.1.3 records
- Opencv application -- jigsaw puzzle
- [※ leetcode refers to offer 32 - II. Print binary tree II from top to bottom (simple)]
- C knowledge
- Pytorch selects the first k maximum (minimum) values and their indexes in the data
- Pycharm download and installation
- thinkphp5+数据大屏展示效果
- 引入结构化并发,Swift 5.5 发布!
猜你喜欢

Chrome 94 引入具有争议的 Idle Detection API,苹果和Mozilla反对

ROS学习笔记-----ROS的使用教程

Pycharm download and installation

Question brushing plan -- backtracking method (I)

Write table of MySQL Foundation (create table)
![[leetcode sword finger offer 10 - II. Frog jumping steps (simple)]](/img/ab/698810f6fe169adffc3bec5e0dc13f.png)
[leetcode sword finger offer 10 - II. Frog jumping steps (simple)]

阿里又一个“逆天”容器框架!这本Kubernetes进阶手册简直太全了

C#,打印漂亮的贝尔三角形(Bell Triangle)的源程序

What about laptop Caton? Teach you to reinstall the system with one click to "revive" the computer
![[leetcode sword finger offer 58 - I. flip word order (simple)]](/img/25/e000531faeaee2eac18d9a634e203b.png)
[leetcode sword finger offer 58 - I. flip word order (simple)]
随机推荐
ROS learning notes - tutorial on the use of ROS
YOLOv5 Unable to find a valid cuDNN algorithm to run convolution
Flomo software recommendation
wait、waitpid
亚马逊和Epic将入驻,微软应用商城向第三方开放
South Korea may ban apple and Google from offering commission to developers, the first in the world
在线时序流程图制作工具
Explore ASP Net core read request The correct way of body
Write table of MySQL Foundation (create table)
Deno 1.13.2 发布
Win 11K in 100 days, super complete learning guide for job transfer test
Pipes and xargs
[※ leetcode refers to offer 46. Translate numbers into strings (medium)]
IOT design and development
Pytorch preserves different forms of pre training models
管道和xargs
Two Stage Detection
The computer is out of power. How did I pass the terrible interview of Tencent cloud?
IOT 设计与开发
Assertionerror: invalid device ID and runtimeerror: CUDA error: invalid device ordinal