Hi All,
I am using Wt::Dbo::Backend (postgres) to work with databases?
Here is the error I am getting as repsonseText {
<title>Error occurred.</title><h2>Error occurred.</h2>bad lexical
cast: source type value could not be interpreted as target
My code:
typedef dbo::collection< dbo::ptr<VRDbo::Layer> > LayersList;
LayersList users = session.find<VRDbo::Layer>();
std::cerr << "We have " << users.size() << " users:" << std::endl;
for (LayersList::iterator i = users.begin(); i != users.end(); ++i)
{
cerr << (*i)->name << "\n\n";
}
}
--
Regards,
Rashad
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest