Loading ...
Sorry, an error occurred while loading the content.

datatable with SQL Server Express 2005

Expand Messages
  • kjmapper
    Hi - All the datatable examples have data that is hardcoded into the example. A common scenario is of course to have data in a database, not hardcoded into
    Message 1 of 3 , Apr 1, 2008
    • 0 Attachment
      Hi -

      All the datatable examples have data that is hardcoded into the
      example. A common scenario is of course to have data in a database,
      not hardcoded into the app.

      Anyone have any success using YUI datatable with SQL Server 2005
      express database tables, and if so have any pointers for how to do it?

      Thanks,
      JB
    • y_lsmith
      ... JB, You may find what you re looking for in the online examples/documentation for DataTable. http://developer.yahoo.com/yui/datatable/ The database
      Message 2 of 3 , Apr 1, 2008
      • 0 Attachment
        --- In ydn-javascript@yahoogroups.com, "kjmapper" <kjmapper@...> wrote:
        >
        > Hi -
        >
        > All the datatable examples have data that is hardcoded into the
        > example. A common scenario is of course to have data in a database,
        > not hardcoded into the app.
        >
        > Anyone have any success using YUI datatable with SQL Server 2005
        > express database tables, and if so have any pointers for how to do it?
        >
        > Thanks,
        > JB
        >


        JB,

        You may find what you're looking for in the online
        examples/documentation for DataTable.
        http://developer.yahoo.com/yui/datatable/

        The database technology isn't important. The server page/service that
        will be requested by the DataSource needs to be able to communicate
        with the database and reply to the http request with some form of
        serialized data (JSON/XML/etc) for the DataSource to feed the
        DataTable with.

        Hope this helps,
        Luke
      • Devin Singleton
        One thought would be to use SQL s FOR XML clause.
        Message 3 of 3 , Apr 1, 2008
        • 0 Attachment
          One thought would be to use SQL's FOR XML clause.

          On Tue, Apr 1, 2008 at 9:41 AM, kjmapper <kjmapper@...> wrote:

          Hi -

          All the datatable examples have data that is hardcoded into the
          example. A common scenario is of course to have data in a database,
          not hardcoded into the app.

          Anyone have any success using YUI datatable with SQL Server 2005
          express database tables, and if so have any pointers for how to do it?

          Thanks,
          JB






        Your message has been successfully submitted and would be delivered to recipients shortly.