The DataGridView control is the new grid control for Windows Froms 2.0. It replaces the DataGridcontrol with an easy to use and extremely customizable grid that supports many of the features that areneeded for our customers.
About this document:
This material should not be considered a complete coverage of DataGridView but it tries to capture thehigh-level features with some depth in specific areas.This document is divided into about 5 logical sections starting with a feature and structure overview,followed by an overview of built-in column and cell types. Next is an overview of working with data,followed by an overview of specific major features. Lastly, a “best practice” section concludes the mainpart of this document.Most sections contain a “Q & A” section that answers common questions regarding the specific featureor area covered by the section. Note that some questions are duplicated in multiple sections based uponthe section relevancy. The question and answers with code samples/snippets are contained in thisdocument’s only appendix to make for a “one-stop shop” of code.Note that most of the context of this document comes from the DataGridView control documentationpresented in MSDN.