IsDouble check for string in Vb.net?

Posted by James123 on Stack Overflow See other posts from Stack Overflow or by James123
Published on 2010-05-13T13:23:30Z Indexed on 2010/05/13 13:34 UTC
Read the original article Hit count: 356

Filed under:
|
|
|

I will get data in DataTable. I am going to iterate data in foreach. I will have all types of data in Datatable. Now I need to find Double for each item (string) in DataTable. How to find IsDouble for string?

Ex:

I have "21342.2121" string. I need to covert this to Double. But sometimes the data will be "TextString". So I can't use Double.Parse().

How to handle this?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about .NET