コード例 #1
0
        public string ReplaceEnvironmentTokens(string strSourceText, DataRow row)
        {
            DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(row);

            PropertySource["field"] = rowProperties;
            PropertySource["row"]   = rowProperties;
            return(ReplaceTokens(strSourceText));
        }
コード例 #2
0
        public string ReplaceEnvironmentTokens(string strSourceText, ArrayList Custom, string CustomCaption, System.Data.DataRow Row)
        {
            DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(Row);

            PropertySource["field"] = rowProperties;
            PropertySource["row"]   = rowProperties;
            PropertySource[CustomCaption.ToLower()] = new ArrayListPropertyAccess(Custom);
            return(ReplaceTokens(strSourceText));
        }
コード例 #3
0
 public string ReplaceEnvironmentTokens(string strSourceText, ArrayList Custom, string CustomCaption, System.Data.DataRow Row)
 {
     DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(Row);
     PropertySource["field"] = rowProperties;
     PropertySource["row"] = rowProperties;
     PropertySource[CustomCaption.ToLower()] = new ArrayListPropertyAccess(Custom);
     return ReplaceTokens(strSourceText);
 }
コード例 #4
0
 public string ReplaceEnvironmentTokens(string strSourceText, DataRow row)
 {
     DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(row);
     PropertySource["field"] = rowProperties;
     PropertySource["row"] = rowProperties;
     return ReplaceTokens(strSourceText);
 }