string tempUrlStr = fun.GetRequestString(Url,1000000,1,System.Text.Encoding.GetEncoding("GB2312"));
Response.Write(tempUrlStr);
int lenA = tempUrlStr.IndexOf("<LI>电子书店 </LI></DIV>",0);
int lenB = tempUrlStr.IndexOf("</div>",lenA);
string Source = tempUrlStr.Substring(lenA,lenB-lenA);上面的lenA调试的时候都能查到位置,,
但是一运行就总是提示: int lenB = tempUrlStr.IndexOf("</div>",lenA);这句的lenA不能小于0