By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,501 Members | 1,678 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,501 IT Pros & Developers. It's quick & easy.

showing deleted rows in DataGridView

P: n/a
Hi all,

I need to display DataRows with RowState.Deleted inside
DataGridView, in a way that such rows have strikethrough font. Here
is the screenshot how it should look like:
http://www.svedic.org/DeletedRows.JPG

The screenshot is from some unrelated C++ application with closed
source, I want to achieve similar thing in .NET/WinForms.

Any idea on how to do this? I tried setting DataRowView.Visible to
true but then I realized DataRows with RowState.Deleted are not
loaded to DataGridView at all. Do I need to customize default data
binding? If so how do I customize DataGridView<-->DataSet
data binding?

If somebody is curious, deleted rows need to be displayed because app
synchronizes with remote data via XML web service. Customer needs to
be able to accept or reject changes made by someone else, so he
needs to see deleted rows during review process.

-- Zeljko
Oct 15 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.