Hi use this but this is work in Sql Server select * from table where date between DATEADD(dd,0,Datediff(dd,0,@FromDate)) and DATEADD(dd,0,Datediff(dd,0,@toDate))
On Thu, Jun 14, 2012 at 8:51 PM, Ravikumar Ranga <[email protected]>wrote: > Sir, > I defined a table with 5 columns,one of these field is DATETIME and I > am using MSAcess.now my Question is how to retrieve data between two > dates using C# > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
