asp.net 將數據導入excel中在頁面顯示 顯示網格線

asp.net 將數據導入excel中在頁面顯示 顯示網格線要加

<html xmlns:x="urn:schemas-microsoft-com:office:excel">
    <head>
        <!--[if gte mso 9]><xml>
            <x:ExcelWorkbook>
                <x:ExcelWorksheets>
                    <x:ExcelWorksheet>
                        <x:Name>工作表标题</x:Name>
                        <x:WorksheetOptions>
                            <x:Print>
                                <x:ValidPrinterInfo />
                            </x:Print>
                        </x:WorksheetOptions>
                    </x:ExcelWorksheet>
                </x:ExcelWorksheets>
            </x:ExcelWorkbook>
        </xml>
        <![endif]-->
</head>

posted @ 2011-02-21 10:39  坏黑豹  阅读(572)  评论(0)    收藏  举报
改变自己,充实自己