1、設置DataGridView的欄位填充整個顯示區 2、調整欄位顯示位置到最後 3、設定控件的欄位自動調整大小 4、設定DataGridView中欄位的寬度 5、得到DataGridView 當前行的位置
blog.163.com