TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
chetan Allipur
NA
541
168.9k
How to set Date format in DataGrid in Xmal file
Mar 21 2017 2:34 AM
Here is my code. I am loading the data from the database to DataGrid.
<Window x:Class="WPF_ThirdWeek.DataGridView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="DataGridView" Height="350" Width="720">
<Window.Resources>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="Bisque"></Setter>
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
<Grid>
<DataGrid x:Name="grdEmployee" AlternationCount="2" AlternatingRowBackground="Bisque" AutoGenerateColumns="True" />
</Grid>
</Window>
Reply
Answers (
2
)
How to connect datagrid with database .
Datagrid Property Of WPF