In Qt if i want to display sql table content in view i can do this:
QSqlTableModel model;
model.setTable("Table1");
model.select();
QTableView view;
view.setModel(&model);
And how do I do that in Wt, 'cause I am stuck with Wt::Dbo::QueryModel< Result
> and Wt::Dbo::Query< Result, BindStrategy >, really can't get why is there
<Result> stuff, what is it needed for, isn't there a way to .setTable(std:str
tablename)?
Oto
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest