title: convert string to double in vb.net
body: <p>data table contain column named as Fld_primary. this column contain value like 0.00 it is double datatype in mysql table.i want store that datatable value in double variable. am always getting error when i convert to double datatype.</p>
  
  <pre><code>my code
  ------- 
  Dim ds5 As dataset1.DTSUMDataTable = TA5.GetData(users)
  
  Dim dttot As Double
  dttot = CType(ds5("fld_primary").ToString, Double)
  </code></pre>
  
  <h2>Error</h2>
  
  <pre><code> Conversion from string "fld_primary" to type 'Integer' is not valid.
  </code></pre>