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