C# and Excel Export/Import-Part 1 of 2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,071
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 2, 2011

Importing data from excel to c# and vice versa using ADO.NET & COM objects.
If you have any questions, feel free to ask :P.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (S0bl3)

  • In your solution you export the table to a running program. How do i create a excel file without having the excel running?

  • @simeon32x

    Try something like this:

    Excel.Application excelApp = new Excel.Application(); Excel.Workbook excelWB; Excel.Worksheet excelWS;  excelWB = (Excel.Workbook)(excelApp.Work­books.Open(@"C:\SQA\Book2.xls"­, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value........ )); excelWB = (Excel.Worksheet)excelWB.Sheet­s[0];

  • puedes enviar el código?

  • @rubenhdz1992

    Yes I Can, just leave me your email.

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @S0bl3 please send me the code for this example, to alcaldillo@gmail.com tanks you.

  • puedes enviarme el codigo?

    

  • Soble tebi ko tebi lajkat cu :)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more