Selasa, 20 Juli 2010

Import Data from Excel to DataGridView in C#

First need to add the reference "Microsoft ADO Ext. 2.8". You can easily add it from COM components.Add an open Dialog box control on form Put the following code on Browser button click events…..        private void button1_Click_1(object sender, EventArgs e)        {            OpenFileDialog fdlg = new OpenFileDialog();            fdlg.Title = "Select file";            fdlg.InitialDirectory

Tidak ada komentar:

Posting Komentar