添加项目文件。
This commit is contained in:
22
ExportExcelTest/MainWindow.xaml
Normal file
22
ExportExcelTest/MainWindow.xaml
Normal file
@@ -0,0 +1,22 @@
|
||||
<Window x:Class="ExportExcelTest.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:ExportExcelTest"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
<Grid>
|
||||
<DataGrid x:Name="dg"/>
|
||||
<Button Content="导出到Excel"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Padding="20 10"
|
||||
Click="ExportButton_Click" Margin="608,388,0,0"/>
|
||||
<Button Content="MDB"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Padding="20 10"
|
||||
Click="Button_Click" Margin="720,388,0,0"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user