Repost:Adding rows to DataTable and DataView issue

  • Thread starter Thread starter Marina
  • Start date Start date
M

Marina

Hi,

I thought I had my problem with the dataview and InsertAt fixed, but nope.
It looks like it works at first, but then the dataview starts going nuts.
And I experience the issue from my other recent post about the dataview
containing datarowviews that don't point to an actual row. In fact, if I
check the source table, my table can have say 4 rows. But the DataView will
have 5, one of which is this phantom one that doesn't point to a real
DataRow.

I am experiencing something described here:
http://groups-beta.google.com/group...ntRows+insertat&rnum=1&hl=en#dfb4d5d987d4b371

Seems there is no real solution other then to make a fake column that keeps
track of row order. Except then, every time you insert one not at the end,
you have to renumber all the rows after it.

Help, someone, anyone?
 
Hi,

I thought I had my problem with the dataview and InsertAt fixed, but nope.
It looks like it works at first, but then the dataview starts going nuts.
And I experience the issue from my other recent post about the dataview
containing datarowviews that don't point to an actual row. In fact, if I
check the source table, my table can have say 4 rows. But the DataView will
have 5, one of which is this phantom one that doesn't point to a real
DataRow.

I am experiencing something described here:
http://groups-beta.google.com/group...ntRows+insertat&rnum=1&hl=en#dfb4d5d987d4b371

Seems there is no real solution other then to make a fake column that keeps
track of row order. Except then, every time you insert one not at the end,
you have to renumber all the rows after it.

Help, someone, anyone?

Marina,

I'm sorry but I didn't read you original post. What is the purpose of doing
InsertAt in this situation?

Otis Mukinfus
http://www.otismukinfus.com
 
Back
Top