If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

My first objective is to show the content of two tables on the same Web page. In my table rows are added and deleted. When one row is added in the table in added in the static -grid too, but when it s deleted, the row is still present in the webpage, why?
If i want to extend the exemple inserting multiple rows into the adapter, how to do that?
If i want to extend the exemple adding a second statement on another table, what is your suggestion?

I think you should consider at the client side to handle two Items in COMMAND mode with two distinct DynaGrid.
Please consider this demo, http://demos.lightstreamer.com/MarketDepthDemo/, that shows two grids (the red one and the green one) with the buy and sell proposals for a market stock with price and quantity.
This is achieved with just two Items in COMMAND mode where the rows of a table can be handled automatically by the add, delete, and update commands. For further details on the COMMAND mode please refer to section "3.2.3 COMMAND Mode" of "General Concepts.pdf" documentation.

About the Adapter code proposed, it should be intended as very basic POC and in real scenario use it should be heavily developed.
That said in your case, if the two statements are triggered by two different subscribe requests, then you could simply duplicate the GreetingsThread and change the subscribe method with something like this: