public void RepairData(WEVectorLayer layer) { Data = layer.GetDataTable(); this.dataGridView1.DataSource = Data; }