J
Joseph Bittman MVP MCSD
Sept. 13, 2006
I don't know about your code sample as I've never really seen the Eval
method used.
What most people do in that situation, is something like this:
If 5 > 4 then
label1.text = "It worked"
end if
or if you needed to make sure the first integer passed in by the user was
greater than a number you have in mind... then you could do something like
this: (where textbox1.text contains the user's number)
if textbox1.text > [yournumber] then
.....
Basically, the "if" statement automatically evaluates simple operations such
as > or < or =True... or "if [passedinboolean]=False AND Textbox1.text > 3
then" ... stuff like that.
Hope this helps!
--
Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM
Blog/Web Site: http://CactiDevelopers.ResDev.Net/
I don't know about your code sample as I've never really seen the Eval
method used.
What most people do in that situation, is something like this:
If 5 > 4 then
label1.text = "It worked"
end if
or if you needed to make sure the first integer passed in by the user was
greater than a number you have in mind... then you could do something like
this: (where textbox1.text contains the user's number)
if textbox1.text > [yournumber] then
.....
Basically, the "if" statement automatically evaluates simple operations such
as > or < or =True... or "if [passedinboolean]=False AND Textbox1.text > 3
then" ... stuff like that.
Hope this helps!
--
Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM
Blog/Web Site: http://CactiDevelopers.ResDev.Net/