list 明明已经有数字 为什么dataGridView 里面却什么都没有 全是空格呢?求讲解。。
dgvMain是当前窗体的么?你加上 dgbMain.Bind(); 看看
用private DataTable mydt = new DataTable();
只选择了数据源,并没有绑定数据