读ini配置文件value值长度有限制?
[GetScheduling]
InParamStr=1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
最长这么长?再多一个字符就报错了,如果有限制,那么还有什么好办法记录长配置信息?我是想记录存储过程的输出参数
OutParamStr=PlanID,s|WorkDate,s|RegTypeCode,s|RegTypeName,s|DeptCode,s|DeptName,s|DoctorWorkNum,s|DoctorName,s|Morning,s|MCan,int32|MRegister,int32|Afternoon,s|ACan,int32|ARegister,int32|Night,s|NCan,int32|NRegister,int32|VisitPosition,s|Price,decimal
private string ContentValue(string Section, string Key)
{
StringBuilder temp = new StringBuilder();
GetPrivateProfileString(Section, Key, "", temp, 2048, iniFilePath);
return temp.ToString();
}