Hi,
I am troubling in a converting datetime to date format in C#.
Here i had created a datatable programatically and added columns also. But i want one column as a date column. But in C# we are having only datetime Method.
This is the Data table i had created,..
DataTable dt = new DataTable();
dt.Clear();
dt.Columns.Add("DDBookID", typeof(System.Int32));
dt.Columns.Add("DDDate", typeof(System.DateTime));
dt.Columns.Add("Amount", typeof(System.Decimal));
dt.Columns.Add("CRTE_TS", typeof(System.DateTime));
For DDDate column i want only Date Datatype..
Can any one help on this issue...
thanks in advance.......