Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27254

how to save datagridview as either excel2003 or excel2007 worksheet.

$
0
0
i can save a datagrid using code:

Code:

saveFileDialog.Filter = "Excel2007 (*.xlsx)|*.xlsx|All files (*.*)|*.*"
i wish to give the user the option to save in either Excel2003 or Excel2007 format. What changes do i need to make in the code and what about additional references and imports? thanks...

Viewing all articles
Browse latest Browse all 27254

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>