Web Connection
Dynamic Grid Columns
Dear Rick,
I have a simple problem, but I cannot resolve it.
I would like to create dynamically Columns for a Grid, there could be until 31 columns (days of a month)
HeaderText, UniqueId and AddControl are ok, but I am not able to write the right command for Column.Expression.
Thank you very much for support!
* m.cDay from "1" to "31" but many values are excluded under certain conditions in a FOR/ENDFOR cycle
m.Field1="Table1.Day"+m.cDay
m.Field2="Table1.Hour"+m.cDay
m.String="This.Column" + m.cDay + ".Expression=" + "=HRef('Calendar.wc?Day=' + '"+m.Field1 + "','" + m.Field2 + "')'"
&String