有谁用过c#的农历日历?
我之前在网上找了一个CNDATE.CS的类,以前调用都好用,结果今天调用就出错了:
异常详细信息: System.ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
参数名: startIndex
源错误:
行 353: {
行 354: //strDay = szText1.Substring((iDay / 20) * 2 + 1, 2);
行 355: strDay = szText1.Substring((iDay / 10) * 2 + 1, 2);
行 356: strDay = strDay + "十";
行 357: }
源文件: h:\ASP.NET\httpOA\App_Code\CNDate.cs 行: 355
谁能修改一下?