InsertRow() 개인적인 메소드

private InsertRow ( DataRow row, int proposedID, int pos ) : void
row DataRow
proposedID int
pos int
리턴 void
예제 #1
0
 public void InsertAt(DataRow row, int pos)
 {
     if (pos < 0)
     {
         throw ExceptionBuilder.RowInsertOutOfRange(pos);
     }
     if (pos >= list.Count)
     {
         table.AddRow(row, -1);
     }
     else
     {
         table.InsertRow(row, -1, pos);
     }
 }