当为一列的时候 table.PrimaryKey=new DataColumn[]{table.Columns["CustID"]}; table.PrimaryKey = keyColumn; 相关文章: 2022-12-23 2022-12-23 2021-05-11 2022-01-23 2021-04-26 2021-12-30 2022-12-23 2022-12-23