MikeCombe
asked on
How to use DateTime.now in Visual Studio 2010
Using VS10 & ASP.NET 3.5
It doesn't like me to use....
dim dt as DateTime = DateTime.now <--- no property with "now"
What's that about ???
It doesn't like me to use....
dim dt as DateTime = DateTime.now <--- no property with "now"
What's that about ???
"now" should be "Now".
ASKER
I agree....that was my typo.
However....that is not the issue
In an ASPX file it works as expected.
In an ASMX file it does NOT work.
VS10 acts like it doesn't understand it.
I have "Imports System in my ASMX file.
What is missing ?
However....that is not the issue
In an ASPX file it works as expected.
In an ASMX file it does NOT work.
VS10 acts like it doesn't understand it.
I have "Imports System in my ASMX file.
What is missing ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
as stated