declaring Global varaible as dateTime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Everyone,

I have this global variable

Private dateTime orderDetail= new dateTime();


I want to initialize this variable. How can I do that.

Thanks.
 
Vinki said:
Hello Everyone,

I have this global variable

Private dateTime orderDetail= new dateTime();

In what way is that a global variable?
I want to initialize this variable. How can I do that.

Well, that *does* initialise it - but probably not to what you want.
What do you want the value to be?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top