DataGridView 获取选中行数据
DataGridViewSelectedRowCollection dataGridViews = this.dgv_QueryData.SelectedRows;
if (dataGridViews == null)
{ return; }
DataTable gridSelectData = printData.Clone();
for (int i = 0; i < dataGridViews.Count; i++)
{
DataRow dataRow = (dataGridViews[i].DataBoundItem as DataRowView).Row;
gridSelectData.ImportRow(dataRow);
}