小编Zoy*_*hta的帖子

索引和长度必须指向字符串中的位置.参数名称:长度

我收到这个错误:

Index and length must refer to a location within the string.
Parameter name: length
Run Code Online (Sandbox Code Playgroud)

使用此代码:

string a1 = ddlweek.Text.Substring(0, 8);                
string a3 = ddlweek.Text.Substring(10, 14);
Run Code Online (Sandbox Code Playgroud)

这是什么意思?

asp.net

9
推荐指数
3
解决办法
7万
查看次数

标签 统计

asp.net ×1