protected string isCheckedRightOfShowSpecialField(string strReportID) { if (RightList.Contains(strReportID)) { return(RightList[RightList.IndexOf(strReportID) + 1].StartsWith("0.1") ? " checked='checked' " : ""); } return(""); }
protected string isCheckedRightOfOutput(string strReportID) { if (RightList.Contains(strReportID)) { string strTmp = RightList[RightList.IndexOf(strReportID) + 1]; return((strTmp.StartsWith("0.01") || strTmp.StartsWith("0.11")) ? " checked='checked' " : ""); } return(""); }
protected string isCheckedRightOfOutputAll(string strReportID) { if (RightList.Contains(strReportID)) { string strTmp = RightList[RightList.IndexOf(strReportID) + 1]; if (strTmp.Length == 5) { strTmp += ","; return(strTmp.EndsWith("1,") ? " checked='checked' " : ""); } } return(""); }
protected string isCheckedAddinRight(string strReportID) { if (strFucID.Equals(strReportID)) { iIndex++; } else { strFucID = strReportID; iIndex = 0; } if (RightList.Contains(strReportID) && RightList[RightList.IndexOf(strReportID) + 1].Length > iIndex + 2) { return((RightList[RightList.IndexOf(strReportID) + 1][iIndex + 2] == '1') ? " checked='checked' " : ""); } return(""); }