Click here to Skip to main content
15,921,622 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: WinForms DatagridView Field Pin
George B Gilbert2-Oct-08 6:40
George B Gilbert2-Oct-08 6:40 
GeneralRe: WinForms DatagridView Field Pin
MatthysDT2-Oct-08 20:07
MatthysDT2-Oct-08 20:07 
GeneralRe: WinForms DatagridView Field Pin
George B Gilbert3-Oct-08 9:48
George B Gilbert3-Oct-08 9:48 
GeneralRe: WinForms DatagridView Field Pin
MatthysDT6-Oct-08 2:13
MatthysDT6-Oct-08 2:13 
GeneralRe: WinForms DatagridView Field Pin
George B Gilbert6-Oct-08 5:42
George B Gilbert6-Oct-08 5:42 
QuestionExport DataGrid to Excel Pin
jalpam1-Oct-08 20:11
jalpam1-Oct-08 20:11 
AnswerRe: Export DataGrid to Excel Pin
Ashfield1-Oct-08 21:17
Ashfield1-Oct-08 21:17 
AnswerRe: Export DataGrid to Excel Pin
Johan Hakkesteegt1-Oct-08 23:44
Johan Hakkesteegt1-Oct-08 23:44 
Ashfield is right, there are plenty of articles on this site and on the net, but here is one possible approach (which is working for me, while you read this):

1. make an excel file with some demo data and make it look the way you want your app to make it look.
2. save it as xml
3. open this xml file in vs2003, so you can see what it looks like
4. use some loops to write the values from your dataset and the xml tags into a big string.
5. write the string to an xls file with a StreamWriter
6. Bob's your uncle.

Because you wrote the file as an xml file, it can easily be opened with Excel, OpenOffice or any other program that can usually read Excel files.

Good luck.

My advice is free, and you may get what you paid for.

GeneralRe: Export DataGrid to Excel Pin
jalpam3-Oct-08 1:21
jalpam3-Oct-08 1:21 
QuestionNeed Help with the DirectoryServices namespace in .net 3.5 Pin
timraines1-Oct-08 19:27
timraines1-Oct-08 19:27 
AnswerRe: Need Help with the DirectoryServices namespace in .net 3.5 Pin
timraines2-Oct-08 3:22
timraines2-Oct-08 3:22 
AnswerRe: Need Help with the DirectoryServices namespace in .net 3.5 [modified] Pin
richardw482-Oct-08 3:54
richardw482-Oct-08 3:54 
GeneralRe: Need Help with the DirectoryServices namespace in .net 3.5 Pin
timraines2-Oct-08 18:03
timraines2-Oct-08 18:03 
GeneralRe: Need Help with the DirectoryServices namespace in .net 3.5 Pin
timraines2-Oct-08 20:07
timraines2-Oct-08 20:07 
QuestionRevert to last successful build? Pin
craigmg781-Oct-08 6:49
craigmg781-Oct-08 6:49 
AnswerRe: Revert to last successful build? Pin
jzonthemtn1-Oct-08 9:24
jzonthemtn1-Oct-08 9:24 
AnswerRe: Revert to last successful build? Pin
Paul Conrad1-Oct-08 10:02
professionalPaul Conrad1-Oct-08 10:02 
QuestionVB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 4:09
lostboy2411-Oct-08 4:09 
AnswerRe: VB code for sending an email through .net application using smtp Pin
Tom Deketelaere1-Oct-08 5:13
professionalTom Deketelaere1-Oct-08 5:13 
GeneralRe: VB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 7:46
lostboy2411-Oct-08 7:46 
GeneralRe: VB code for sending an email through .net application using smtp Pin
Jon_Boy1-Oct-08 9:10
Jon_Boy1-Oct-08 9:10 
GeneralRe: VB code for sending an email through .net application using smtp Pin
Tom Deketelaere1-Oct-08 9:12
professionalTom Deketelaere1-Oct-08 9:12 
GeneralRe: VB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 14:50
lostboy2411-Oct-08 14:50 
QuestionVB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Indra PR1-Oct-08 2:40
Indra PR1-Oct-08 2:40 
AnswerRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Ashfield1-Oct-08 3:40
Ashfield1-Oct-08 3:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.