0 Replies Latest reply on Sep 2, 2008 3:10 PM by Germiyan Ogul

    binding List to a datatable

    Germiyan Ogul Newbie
      I want to bind my sql results to a datatable but I don't know how to to that.

      Query q2 = this.getEntityManager().createQuery("select p.productcode from Price p where productcode between :productcode1 AND :productcode2");
               q2.setParameter("productcode1", productcode1);
               q2.setParameter("productcode2",productcode2);
               List l=q2.getResultList();


      I want the results displayed in a data table. can you show me some hints about it?
      thanks http://www.seamframework.org/Community/SeamUsersForum?showTopicForm=true#