Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Damian Hartin on Jul 26, 2008 01:58
open dhtmlx forum
Grid with SQL 2005 Endpoints or For XML

Hi - would it be possible for you to supply me with some example code loading a grid with data from a SQL 2005 database via an endpoint in ASP.Net 3.5?

I was hoping there was a neat way to load the data without using the asp example you have of rendering each line to xml?

Thanks,
Damian
Answer posted by Support on Jul 28, 2008 03:25
There is no way to load data directly from ASP code, the component is fully client side so it will require some kind of data transfer layer in any case ( it may be XML, CSV , JSON )
In case of loading data from MS-SQL database you can use native XML functionality of MSSQL to get data in XML format which can be parsed by grid. ( xmlA format )
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Loading_data_in_grid.html#grid_art_loadingdata