HTML Table to TDataSet lazarus / 31-LCL ---------------------------------------------------------------------- jufau · 2015-07-28 12:50 Hey Guys, I need your help for the following task: - I have to import data from HTML Table to my Lazarus Tdataset component, which will later transfer this data to my MySql Database. So, is there any component or library that I can use to do such thing? Thanks, J ---------------------------------------------------------------------- Bart · 2015-07-28 14:47 I have some class that kan import a HTML table into a self-made class. It can handle only simple tables: no tables inside tables, no colspans, no rowspans. It's just a custom made crude parser. Using proper parsing (DOM) would be the proper way I guess. Bart ---------------------------------------------------------------------- jufau · 2015-07-28 14:54 Hey Bart, Could you send me these files or at least show me the way you did them so I can implement it in my application? Thanks J ---------------------------------------------------------------------- Bart · 2015-07-28 16:02 See http://svn.code.sf.net/p/flyingsheep/code/trunk/FarmedTools/. The file htmlprocs.pp contains the code that parses the table structure. See procedure HtmlTableToTableEmulator to see how I did it. The actual project there is of no use to anybody (except to me and my co-workers) ... Bart ---------------------------------------------------------------------- jufau · 2015-07-28 16:24 Thanks Man, I will check it out. But you already helped me a lot. J