Today we will try to import data from excel file "xls" or "xlsx" to datagridview, this script has been tested using visual studio 2010.
Q. Why do we have to import data from excel to a DataGridView ?
A. Sometimes many companies initially did all the needs of theirs data using excel, when they begin to migrate using application, it would be quite a hassle if you have to enter one by one manualy. Therefore, should we provide import function from excel to DataGridView
Okay let's start .