Hi ,
I am developing VB.NET 2003 Windows application.
i have One DataGrid
i am filling the dataset and and assign DataGrid.DataSource=myDataSet
now my data grid looks like this
# OrderID OrderDate
1 0937 05/21/2007
2 6667 05/22/2007
3 8896 06/23/2007
4 5467 06/23/2007
5 4790 07/30/2007
i want put colours for my rows
condition is
if OrderDate is today date then Rows colour sould be green
if OrderDate is less than today date rows colours should be blue
if OrderDate is grater than today date then rows colour should be red like this
i am filling the DataGrid data using Dataset
how i would do this...
Enter your message below
Sign in or Join us (it's free).