Editable data grid for C# WinForms

By : Andrew
Source: Stackoverflow.com

I need to present the user with a matrix of which one column is editable. What is the most appropriate control to use?

I can't use a ListView because you can only edit the first column (the label) and that's no good to me.

Is the DataGridView the way to go, or are there third party alternative components that do a better job?

By : Andrew


If DataGridView will handle your needs, it's the right answer. Another option (although it seems to be unpopular around these parts!) is Infragistics NetAdvantage. The downsides to Infragistics are primarily a high cost and somewhat steep learning curve; the upsides are that these are some of the most powerful controls you'll ever find -- so if you need their flexibility, go for it.

I don't have experience with Telerik (which has been mentioned by others here), but they do seem quite good. Being that my company has invested fairly heavily in Infragistics, we're not liable to switch any time soon ...

By : John Rudy

We faced the exact same issue in our co. Our tests output excel workbooks. Binary diff was not an option. So we rolled out our own simple command line tool. Check out the ExcelCompare project. Infact this allows us to automate our tests quite nicely. Patches / Feature requests quite welcome!

By : na_ka_na

If you have TortoiseSVN then you can CTRL click the two files to select them in Windows Explorer and then right-click, TortoiseSVN->Diff.

This works particularly well if you are looking for a small change in a large data set.

By : Chris B

This video can help you solving your question :)
By: admin