Show parameter in label

Show parameter in label

Forum member · Jul 12, 2007
Hello, I can use a parameter to pass a value to the query in C# cs: Parameters.Add("doLanguage", "nl"); dplx: <sql>...tbl_products.showtitle_#Parameters["doLanguage"]# AS ProductTitle...</sql> Now I would like to do the same to pass a value to a label cs: Parameters.Add("Date1", Request.QueryString["date1"] + ""); dplx: <label id="Label1" text="#Parameters["Date1"]#" x="80" y="86.5" height="14" width="100"/> but because of the double " this can't work ... Best regards, Frank

Re: Show parameter in label

Support · Jul 12, 2007
Hello Frank, You can not pass values to labels because label element is used to display only static text. However, you can use RecrodArea or RecordBox and pass the value of the parameter to it without any problem. Below is the sample: <recordBox id="OrderIDRecordBox" x="437" y="25" height="12" width="100" field="Parameters[&quot;OrderID&quot;]" dataFormat=""/> Thanks, ceTe Software Support Team