hello to all
when i compile my application it gives a error that is
Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks/

and i dont this error occurs on which page.
anyone knows bout this error plz help.
thanks

I'm curious which compiler/IDE you're using for your coding because I know my VS tells me exactly where the error is when it pops an error out at me.

Alternately the only way you'll be able to tell if your compiler/IDE isn't being helpful, would be to go through each page of your code and look for references that match those given in the error (good old "find" option).

Obviously somewhere in your code you defined "Ticks" outside of the allowable range as set by "DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks" so I would start with a 'find' of "Ticks" and go from there :twisted:

Hope that helps :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.