5 Replies Latest reply on May 22, 2007 11:55 AM by HyderAlamgir

    Loading database values in Label component

    HyderAlamgir Level 1
      I have to display a set of values coming from an sql database via php method calling.

      $sql="SELECT username as label FROM employees;";

      I can use dataProvider method in datagrid to display the values of usernames, but which property do i assign it to if I have to display it in a label component?

      .text does not work - it displays "[object Object]"