Autor Beitrag
Namenlosnameless
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 259
Erhaltene Danke: 6

Windows XP Home Edition, Windos Vista
C#
BeitragVerfasst: Di 27.04.10 20:10 
Hallo!

Ich habe wieder mal ein Problem:

Und zwar, will ich eine Exceltabelle in mein C#-Projekt einlesen! Ich habe hierzu ein gutes Beispiel gefunden.

Allerdings kommt die using-Direktive: using Excel = Microsoft.Office.Interop.Excel; vor.
Die es in meinem VS 2008 nicht gibt.
Muss ich mir da irgendwas runterladen oder bin ich eifach nur unfähig?

mfg Namenlosnameless

_________________
1:<<Life sucks!!>> 2:<< Well okay>> 1: <<Just Yours>> 2:<<Ohmph>>
danielf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1012
Erhaltene Danke: 24

Windows XP
C#, Visual Studio
BeitragVerfasst: Di 27.04.10 21:06 
Hallo,

das using alleine reicht nicht. Du musst noch bei den Projekt-Referenzen einbinden.

Verweise hinzufügen.. .NET .. und dann Microsoft.office.interop.Excel.

Gruß
Namenlosnameless Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 259
Erhaltene Danke: 6

Windows XP Home Edition, Windos Vista
C#
BeitragVerfasst: Di 27.04.10 21:42 
Okay:

Wie bekomme ich die using überhaupt?

Und wie füge ich die verweise hinzu?

_________________
1:<<Life sucks!!>> 2:<< Well okay>> 1: <<Just Yours>> 2:<<Ohmph>>
Namenlosnameless Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 259
Erhaltene Danke: 6

Windows XP Home Edition, Windos Vista
C#
BeitragVerfasst: Di 27.04.10 21:46 
Kommando zurück!

schon geschafft

_________________
1:<<Life sucks!!>> 2:<< Well okay>> 1: <<Just Yours>> 2:<<Ohmph>>