how to get Value that cause exception
<p>How can I get the value that failed to be converted? In general, and not in this single specific example case.</p>

<pre><code>try
{
    textBox1.Text = "abc";
    int id = Convert.ToInt(textBox1.Text);
}
catch
{
    // Somehow get the value for the parameter to the .ToInt method here 
}
</code></pre>
