Hey, so I have a totally newbie .NET question, that clearly would be better
suited for the DOTNET-TALK list but I might as well ask here ;-)


I'm trying to compare two dates that a user enters into a text box.  I would
like to convert the text (after validation that it's a proper date) into the
yyyymmdd format and then compare the start and end dates as integers to make
sure that the end date is >= the starting date..  I've never been able to
convert a string to an int.  How would I do this?  


This line gives me specified cast is not valid (trying to cast two
stringbuilder objects to ints).
if (Convert.ToInt32(stbBeginDate) > Convert.ToInt32(stbEndDate)) {

....

}

Ideas?
Robyn

-----Original Message-----
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 11:57 AM
To: CF-Community
Subject: RE: .net list

> Sounds reasonable.
> I am by no means a .NET expert but I'm willing to answer as
> many questions as I can.

I am about to ask about 500 :-)
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to