單項選擇題

已知:DataSet data=new DataSet();則刪除數(shù)據(jù)集data中person數(shù)據(jù)表的第5行數(shù)據(jù)的方法為()

A. data.Tables["person "].Rows[5].Delete();
B. data.Tables["person "].Rows.Delete(5);
C. data.Tables["person "].Rows[4].Delete();
D. data.Tables["person "].Rows[].Delete(4);

微信掃碼免費搜題