Ejemplo n.º 1
0
        public string ReplaceEnvironmentTokens(string strSourceText, DataRow row)
        {
            DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(row);

            PropertySource["field"] = rowProperties;
            PropertySource["row"]   = rowProperties;
            return(ReplaceTokens(strSourceText));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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);
 }
Ejemplo n.º 4
0
 public string ReplaceEnvironmentTokens(string strSourceText, DataRow row)
 {
     DataRowPropertyAccess rowProperties = new DataRowPropertyAccess(row);
     PropertySource["field"] = rowProperties;
     PropertySource["row"] = rowProperties;
     return ReplaceTokens(strSourceText);
 }