怎样取得DataTable某行某列的值

2026年09月08日 21:59
有1个网友回答
网友(1):

如,获取第2行第3列的值:

string value = dataTable1.Rows[1][2].ToString();

注意,datatable 是以0为起始行/列