REPORTCONTROL ROW DELETION |
Post Reply |
Author | |
sonix
Newbie Joined: 26 January 2009 Location: Philippines Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 25 February 2009 at 7:29pm |
Hi,
Good day. I need some help with regards to reportcontrol row deletion. When I'm using this code: rptMainMessages.Records.RemoveAt(row.Record.Index); It's successfully delete the row record. but I'm using the array or function that gets all the deleted record from reportcontrol. my deleted records re-appeared in the interface. please help me. thank you in advance. GOD BLESS |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Coed looks right, so I'm not sure what you need.
Possibly you want rptMainMessages.Records.RemoveAt(row.Record.Index); rptMainMessages.Populate(); OR rptMainMessages.RemoveRecordEx(row.Record.Index); rptMainMessages.RowEx(row); |
|
sonix
Newbie Joined: 26 January 2009 Location: Philippines Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi sir, yes the code you've given delete the row in report control, but my problem right now when I change the focus in treeview, when I come back (eg. in inbox, the deleted row will appear again. I don't know what to do on this. please guide me on this. Thank you in advance, and God bless u all. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |