mohamad guntur

mohamad guntur

  • NA
  • 40
  • 31.3k

Export Datagridview to Excel VB.NET

Oct 24 2012 2:00 AM
how to Export data from Datagridview to excel in VB.NET?.


I add this code, but it contains error




Imports Excel = Microsoft.Office.Interop.Excel

it said:
Warning1Namespace or type specified in the Imports 'Microsoft.Office.Interop.Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.|MyDir|




is there any alternative?


















Regards

Answers (1)