Datagridview and its use in C#

Todays I’ am going to explain what is the use of datagridview and what its benefit and when it used in the project and where can it use.  There are many benefits using datagridview like retrieving or populating, data from database is very easy and also manipulate the data. Datagridview control provides many Properties, Event and Method. We can also customize datagridview display information and appearance.

Following list explain benefit and use.

1.         You can highlight the duplicate data where user can easily identify the data.
(Description – Here what is my intension is to explain about duplicate data .If duplicate data is found some time what happens data if you are importing from pdf or image file at that time data can’t be accurate, so redundancy can happen, user intervention must to check the data.)
2.         Calculate the numeric field like rate, quantity and total.
3.         Checkbox insertion in datagridview
4.         Combo box insertion in datagridview
5.         Command button insertion when delete, modify or add new record.
6.         Sorting data
7.         Filtering data
8.         Hide column and rows
9.         Add image
10.    Pagination
11.    Printing the datagridview data
12.    Export data from datagridview to Excel
13.    Import data from excel to datagridview
14.    Autocomplete textbox

This article is for beginner, so if any suggestions, idea or queries please leave comments.

Leave a Reply

Your email address will not be published. Required fields are marked *