<pre> <Grid VerticalAlignment="Center" Background="White" Margin="8" Padding="16"> <Grid.RowDefinitions> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> </Grid.RowDefinitions> <TextBox x:Name="txtUser" Grid.Row="2" PlaceholderText="UserName" Margin="8" MaxWidth="200" /> <PasswordBox x:Name="txtPassword" Grid.Row="3" PlaceholderText="Password" Margin="8" MaxWidth="200" /> <Button x:Name="btnLogin" Grid.Row="4" Grid.Column="0" Content="Login" Margin="8" Background="Green" Foreground="White" HorizontalAlignment="Stretch" MaxWidth="200" Click="btnLogin_Click"/> </Grid>
CREATE TABLE [dbo].[Table] ( [Id] INT NOT NULL PRIMARY KEY, [txtUser] NCHAR(10) NULL, [txtPassword] NCHAR(10) NULL )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)