Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 3rd, 2015, 05:23 AM
Authorized User
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default Filter in DateTime

Hi Imar
Now I'm working on this edition of this book after beginning asp 4 book
Now I'm try to learn new things like filtering database in datetime I search in professional asp.net 4.5 book but it dose't there
For example in review table I create web page and insert gridview and datasource to show the Title column by CreateDateTime column also I insert calendar to select what date I want
Can I do this work in Linq and How?
Thanks
Mohammed
 
Old December 4th, 2015, 11:27 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Which data source are you using? Maybe this helps: http://stackoverflow.com/questions/1...atetime-column ?

When using model binding this will be easier as you can simply write the query in Code Behind.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
3 days prior datetime from current datetime bsridharg XSLT 2 June 11th, 2010 11:26 PM
How do I compare a datetime to current datetime and find the one closest to it? Anders XSLT 17 March 15th, 2010 10:28 AM
DateTime pzmrcd C# 3 July 26th, 2007 06:35 AM
DateTime RickP SQL Server 2000 7 December 14th, 2005 07:08 PM
UTC DateTime to Local DateTime r_ganesh76 SQL Server 2000 1 April 4th, 2005 08:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.