Dispaly Result in Gride Between Two date and Day

Dispaly Result in Gride Between Two date and Day

23 Feb 2010 01:02:51
hi, I want to Make One simple forM there are Five Conrtrol are There FromDate ToDate Days Like Sunday,Monday,Etc.. Button Grid user Select From date Today Date and Day then Click T user Select From Date, todate and Day when He press Button It Give Date of all Selected day between Given Day like he Select 1/06/2009 to 30/09/2009 Resulet id like 1/09/2009 8/09/2009 15/09/2009 21/09/2009 29/09/2009 Thanks in Advance
Expert   Boarder
Posts: 28
From 03-Jun-2009
You're Points: 538
Bookmark
Re:Dispaly Result in Gride Between Two date and Day23 Feb 2010 01:02:51
Hi Kirti, I look your question, this you can do this, you have send this as start and end date to sql query and then select all date which are include within this range fetch and show in control this is may be help @startdate datetime @enddate datetime SELECT Dates from tableName where Dates Between @startdate and @enddate . The bind this value to your grid view. I hope i pointed out correctly, if you have any doubt on that please let me know via here. thank you
RRaveen
Gold  Boarder
Posts: 156
From 03-Jun-2009
You're Points: 1106
Bookmark
Re:Dispaly Result in Gride Between Two date and Day23 Feb 2010 01:02:51
Thanks But not using SQL only .net Using Date time Function and Datatable We want to Show Monday between given date see Example carefully you will get if user select Sunday then show Sunday between given date
Kirti.Darji.001
Expert  Boarder
Posts: 28
From 03-Jun-2009
You're Points: 538
Bookmark
^ Scroll to Top