Click here to Skip to main content
15,944,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am fetching only one column as Date in DataTable.There are more than 10 records in DataTable.Is there a way to get maximum date of that column.

Thanks
Mohd wasif
Posted
Comments
Prasad_Kulkarni 12-Mar-12 3:26am    
Add max(date) in your query, while fetching your data.

1 solution

 
Share this answer
 
Comments
CRDave1988 12-Mar-12 3:42am    
may i know reason to degrade answer? The code is not working or It is not what u want?
CRDave1988 12-Mar-12 3:46am    
Because For ME this is working fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900