markus / DataBase / WpfDataBaseTest / MainWindow.xaml @ master
이력 | 보기 | 이력해설 | 다운로드 (1.5 KB)
1 |
<Window x:Class="WpfDataBaseTest.MainWindow" |
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
xmlns:local="clr-namespace:WpfDataBaseTest" |
7 |
mc:Ignorable="d" |
8 |
Title="MainWindow" Height="450" Width="800"> |
9 |
<Grid>
|
10 |
<Grid.RowDefinitions>
|
11 |
<RowDefinition Height="Auto"/> |
12 |
<RowDefinition Height="Auto"/> |
13 |
<RowDefinition Height="7*"/> |
14 |
<RowDefinition Height="3*"/> |
15 |
</Grid.RowDefinitions>
|
16 |
<StackPanel>
|
17 |
<TextBlock Text="Connection String"/> |
18 |
<TextBox x:Name="txtConnStr" Text="data source=cloud.devdoftech.co.kr,7777;initial catalog=Markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;"/> |
19 |
</StackPanel>
|
20 |
<StackPanel Margin="4" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center"> |
21 |
<Button Content="Model Dll Data Call" Width="140" Click="ModelCall_Click" Margin="3"/> |
22 |
<Button Content="Sample Dll Data Call" Width="140" Click="DataCall_Click" Margin="3"/> |
23 |
<Button Content="Clear" Width="140" Click="Clear_Click" Margin="3"/> |
24 |
</StackPanel>
|
25 |
<DataGrid Grid.Row="2" x:Name="datagrid"></DataGrid> |
26 |
<TextBox Grid.Row="3" x:Name="txtLog"/> |
27 |
</Grid>
|
28 |
</Window>
|