Index and length must refer to a location within the string. Parameter name: length
<p>Index and length must refer to a location within the string.
Parameter name: length</p>

<pre><code>string a1 = ddlweek.Text.Substring(0, 8);                
            string a3 = ddlweek.Text.Substring(10, 14);
</code></pre>
