Can JQuery DataTable use the DataTable Class in C# ?

Can JQuery DataTable use the DataTable Class in C# ?

chelseajcolechelseajcole Posts: 12Questions: 0Answers: 0
edited June 2011 in General
I want to know that can jquery DataTable plug-ins can use the datatable in c#? Right now, the datatable in c# is a class, can jquery make a call or something so that it can use the datatable in c# directly? How can do that?

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    No - the DataTables library on this site and the DataTables class in C# are not related at all. I'm sure it is possible to write a method which will put data out of the C# class for my DataTables, but it's not something I'm sure how you would go about doing (not being a C# guru).

    Basically DataTables can consume data from HTML, Javascript or a JSON source. If you can get your data into any of those formats then DataTables will do the job nicely.

    Allan
  • chelseajcolechelseajcole Posts: 12Questions: 0Answers: 0
    Thanks so much, I am now consume data from a JSON source
This discussion has been closed.