I'm getting this error:

Index and length must refer to a location within the string.
Parameter name: length

Using this code:

string a1 = ddlweek.Text.Substring(0, 8);                
string a3 = ddlweek.Text.Substring(10, 14);

What does this mean?

Edit
Report