I have one problem. I'm writing an application in c# using Visual Studio. In application i have dataTable with columns products, price, and quantity. For each column i tried to save all rows from data table in list. For example: 

```
List<string> products = new List<string>();
for (int i = 0; i < dt.Rows.Count; i++)
{
    products.Add(dt.Rows[i]["products"].ToString());               
}

```

This code works fine. Problem is when I try to save data from column price into double list. I tried many ways and none of them are correct. What i tried to do is. 
For example

```
List<double> prices = new List<double>(); 
for (int i = 0; i < dt.Rows.Count; i++)
{
    prices.Add((double)dt.Rows[i]["price"]);
}

```

I'm always getting an error saying `Specified cast is not valid`. I also tried with `double parse` where it says: `input string was not in correct format`.
All I want to do is to store data from data table into double list.