Hi...previously i am gtk programmer(new to qt),
qsqlquery.exec() function takes only one parameter which is query string. we are not passing any additional parameters to catch the results(like string * or ..etc).So how can i catch the result returned by sqlite database after running a qsqlquery.exec(). I have seen examples but they shown only how to enter the details in db. not shown how to catch the results(ex: table values, names ...etc) returned by db. please any one give me sample code lines for reading tables in sqlite database in qt 4.5.X? I think i have to use qsqlresult class. But i don't know how to use that class because i didnt found any examples which shows a proper code.
Bookmarks