Sign in to follow this  
faculaganymede

C# Delete only filtered rows from DataView??

Recommended Posts

C# Gurus, Is there an easy way to delete only filtered rows from a DataView table? This is how I set up my DataView object: DataView m_dv = new DataView(tbl.Tables[0]); m_dv.RowFilter = "ID="+id.ToString(); ==> here I want to delete all the rows that match the id string. Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this