Click here to Skip to main content
15,894,136 members
Home / Discussions / C#
   

C#

 
AnswerMessage Removed Pin
20-Feb-15 22:16
mvePete O'Hanlon20-Feb-15 22:16 
GeneralMessage Removed Pin
20-Feb-15 22:31
professionalDaniel Lieberwirth (BrainInBlack)20-Feb-15 22:31 
GeneralMessage Removed Pin
20-Feb-15 22:53
mvePete O'Hanlon20-Feb-15 22:53 
GeneralMessage Removed Pin
21-Feb-15 9:02
mveGerry Schmitz21-Feb-15 9:02 
GeneralMessage Removed Pin
21-Feb-15 9:39
professionalDaniel Lieberwirth (BrainInBlack)21-Feb-15 9:39 
QuestionSelect Dates within a period of days Pin
RadioButton20-Feb-15 11:58
RadioButton20-Feb-15 11:58 
AnswerRe: Select Dates within a period of days Pin
Dave Kreskowiak20-Feb-15 12:39
mveDave Kreskowiak20-Feb-15 12:39 
AnswerRe: Select Dates within a period of days Pin
BillWoodruff20-Feb-15 12:56
professionalBillWoodruff20-Feb-15 12:56 
You will need to adjust the start, or end, dates before making your query.

If the start date is outside the range of the available data-days:

1. if it's before the first day, then return #n data-days beginning on the first day ... or return an error.

2. if it's after the last day, then return the last #n data-days from the data ... or throw an error.

3. if the start date is in the valid range, but the user wants more data-days than are possible, decrease the start date so you can return the required data-days data.

You don't specify how exactly, given valid start and end dates you let the user choose which 30,60,90 day chunk to return, so can't comment on that.
«I'm asked why doesn't C# implement feature X all the time. The answer's always the same: because no one ever designed, specified, implemented, tested, documented, shipped that feature. All six of those things are necessary to make a feature happen. They all cost huge amounts of time, effort and money.» Eric Lippert, Microsoft, 2009

QuestionSearch in SQL tables using c# Pin
Wannabe Pro20-Feb-15 8:02
Wannabe Pro20-Feb-15 8:02 
GeneralRe: Search in SQL tables using c# Pin
PIEBALDconsult20-Feb-15 8:35
mvePIEBALDconsult20-Feb-15 8:35 
GeneralRe: Search in SQL tables using c# Pin
Wannabe Pro25-Feb-15 8:09
Wannabe Pro25-Feb-15 8:09 
QuestionHow do I make a MVC project appear properly in Visual Studio? Pin
Xarzu20-Feb-15 6:16
Xarzu20-Feb-15 6:16 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
BillWoodruff20-Feb-15 12:43
professionalBillWoodruff20-Feb-15 12:43 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Gerry Schmitz20-Feb-15 12:47
mveGerry Schmitz20-Feb-15 12:47 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Afzaal Ahmad Zeeshan20-Feb-15 22:22
professionalAfzaal Ahmad Zeeshan20-Feb-15 22:22 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Simon_Whale23-Feb-15 5:53
Simon_Whale23-Feb-15 5:53 
Questionhow do i cut an image of an convex hull? Pin
neodeaths20-Feb-15 5:47
neodeaths20-Feb-15 5:47 
QuestionLinq Query : Translate Local Variables reference Pin
dilkonika19-Feb-15 13:50
dilkonika19-Feb-15 13:50 
AnswerRe: Linq Query : Translate Local Variables reference Pin
Gerry Schmitz19-Feb-15 17:40
mveGerry Schmitz19-Feb-15 17:40 
GeneralRe: Linq Query : Translate Local Variables reference Pin
dilkonika19-Feb-15 17:54
dilkonika19-Feb-15 17:54 
GeneralRe: Linq Query : Translate Local Variables reference Pin
Gerry Schmitz19-Feb-15 19:05
mveGerry Schmitz19-Feb-15 19:05 
AnswerRe: Linq Query : Translate Local Variables reference Pin
Eddy Vluggen20-Feb-15 1:18
professionalEddy Vluggen20-Feb-15 1:18 
AnswerRe: Linq Query : Translate Local Variables reference Pin
HKHerron20-Feb-15 7:12
professionalHKHerron20-Feb-15 7:12 
Questionc# "Object reference not set to an instance of an object." Pin
iguru119-Feb-15 11:53
iguru119-Feb-15 11:53 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
Ron Nicholson19-Feb-15 12:11
professionalRon Nicholson19-Feb-15 12:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.