Advertisement

07.01.2008 at 10:53PM PDT, ID: 23532584
[x]
Attachment Details

Convert string to int

Asked by neshepherd in C# Programming Language

Tags: C#

hello,
I am reading and parsing data from a HTML stream
I am extracting a string that is a numerical value, but when I try to put it into an if statement to see if it's > or < than 10,000, it gives the error that you cannot use that operator with a string

is there another solution?

thank youStart Free Trial
[+][-]07.01.2008 at 10:55PM PDT, ID: 21913775

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2008 at 11:06PM PDT, ID: 21913830

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.01.2008 at 11:52PM PDT, ID: 21914012

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Tags: C#
Sign Up Now!
Solution Provided By: Mishu007
Participating Experts: 4
Solution Grade: A
 
 
[+][-]07.02.2008 at 12:51AM PDT, ID: 21914255

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628