deleting datagrid row

  • Thread starter Thread starter Tim Seaburn
  • Start date Start date
T

Tim Seaburn

after filling a datagrid from code, I now need to delete rows in the grid
based on some conditions. Can this be done in the ItemDataBound or
ItemCreated events? if not is there any other way to explicitly delete a
row before it displays?
thanks,
G
 
after filling a datagrid from code, I now need to delete rows in the grid
based on some conditions. Can this be done in the ItemDataBound or
ItemCreated events? if not is there any other way to explicitly delete a
row before it displays?
thanks,
G

Yes. If you are using a DataView object to bind to a datagrid then
research its rowfilter propery.

-Adam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top