Question: ```
import java.io.*;
class demo
{
public static void main(String str[]) throws Exception
{
     Process p = Runtime.getRuntime().exec("wget -P C:\vignesh\Docx\docx_final\Html2Docx\src http://anbu/upload/ExportHtml.html");
     p.destroy();
}
}

```

Hi all,

I want to copy a file from URL to my folder(src). I tried through java, i got error illegal escape character. but the above wget works in command prompt. Please help me..Thanks in advance.

Answer: 
How about:

```
    public double? GetVolume(object data)
    {
        double value;
        if (data != null && double.TryParse(data.ToString(), out value))
            return value;
        return null;
    }

    public void Assign(DataRow theRowInput, DataRow theRowOutput)
    {
        theRowOutput[0] = (object)GetVolume(theRowInput[0]) ?? DBNull.Value;
    }

```
Here are my two messy cents:

```
decimal dParse;
if ((cells[13] == "" ? LP_Eur = DBNull.Value : (Decimal.TryParse(cells[13], NumberStyles.Number, NumberFormat, out dParse) ? LP_Eur = dParse : LP_Eur = null)) != null) {
    throw new Exception("Ivalid format");
}

```