在FinalBuilder Action Studio -StandardGrid(组件面板)中
1.如何更改列名(键、值)?
2.如何添加Key值?
3.如何在visual studio中检索(key,value)中的值?
我尝试了所有选项,是否有其他方法可以在Action studio中以表格方式添加数据。
但我觉得这是可能的,因为最终生成器中的Send Email Action支持数据网格。但我不知道该怎么做。
发布于 2014-03-18 13:31:22
答案依次为:
Page.GridExcludeItems.TitleCaptions.Strings(0) = "Exclude Type“Page.GridExcludeItems.TitleCaptions.Strings(1) = "Exclude value”
Page.GridExcludeItems.InsertRow(excludedType,excludedValue,true);
所以定义一个“字符串”类型的属性(不是字符串,而是复数),并给它命名一些有意义的东西。然后,在.net操作代码中,类将从VSoft.StandardAction继承。由此,验证、执行和加载可能会被覆盖。在这些函数中传递了一个上下文。可以从属性访问该属性,如下所示。
var myGridsStrings = Context.Properties.PropertyAsStrings["MyGridStrings"];然后,MyGridStrings将包含网格中的name=value对列表。
https://stackoverflow.com/questions/20116455
复制相似问题