"Cor" <(E-Mail Removed)> schrieb
> Armin,
> Seriously I d'not understand this answer, (I hope you are not talking
> about dragged information to the textbox).
>
> >I think, IsNumeric does not accept exactly the same formats as the
> > Parse method of the types does. It also can not check if it is
> > within the value
> >range of the destination data type.
>
> In a textbox is normaly only text, so what is wrong to ask in a
> button event "if not isnumeric(textbox1.text)".
> I am really curious (for a simple method, not the best maybe)?
>
> And for the not simple method I am as well as intrested?
> :-) just to say that is well ment.
> Cor
....and what I was trying to say in my first post: ;-)
Usually you also need to convert the string to a numeric data type (not only
check if it is numeric). I am not 100% sure, but I think that IsNumeric does
not perform exactly the same check as the conversion function called later.
Therfore IsNumeric does not help here.
--
Armin
|