Exemplo n.º 1
0
 /// <summary>
 /// 删行
 /// </summary>
 private void btnDelRow()
 {
     for (int i = GridView1.RowCount - 1; i >= 0; i--)
     {
         if (GridView1.IsRowSelected(i))
         {
             GridView1.DeleteRow(i);
         }
     }
 }