sattu
21st September 2010, 08:12
Hi everyone!
I had created a database and in it a table(named USER). Then by giving the command "select * from user" and ui->tableview->setModel(obj), i could display the contents of database in a tableview in form of a grid. But now i want to create a grid manually without using database. All the fields like id,name,address should be entered manually and then the contents displayed in a tableview. Can any one please tell me how to do it, please?:confused:
I had created a database and in it a table(named USER). Then by giving the command "select * from user" and ui->tableview->setModel(obj), i could display the contents of database in a tableview in form of a grid. But now i want to create a grid manually without using database. All the fields like id,name,address should be entered manually and then the contents displayed in a tableview. Can any one please tell me how to do it, please?:confused: