62,074
社区成员
发帖
与我相关
我的任务
分享
[WebMethod(EnableSession = true)]
public int GetInstanceMaterialsStrLength(Guid instanceGuid, Guid materialGuid)
{
string _str="aaaaa";
Session["InstanceMaterialsStr"] = _str;
//该字符串长度
int _strLength = _str.Length;
return _strLength;
}
[WebMethod(EnableSession = true)]
public string GetInstanceMaterialsStr(int order)
{
return Session["InstanceMaterialsStr"].ToString().Substring(order*5000, 5000);
}