Re: [sqlite] how to restore the column values into the structure.

2012-01-22 Thread bhaskarReddy
HI Dinesh, You just given the classes. You didn't give actual work the functions do. Can you tell me how i can do in C. Regards, Bhaskar. Dinesh Behl wrote: > > Hi Bhaskar, > > I wrote the code to store the result of SELECT query. > > I treated the resultset as a table where

Re: [sqlite] how to restore the column values into the structure.

2012-01-20 Thread Dinesh Behl
Hi Bhaskar, I wrote the code to store the result of SELECT query. I treated the resultset as a table where each cell is the column value and row is set of cells, and table is set of rows. Below is the snippet of the class structure. You can modify it as per ur requirement. Hope it helps.

[sqlite] how to restore the column values into the structure.

2012-01-19 Thread bhaskarReddy
Hi Friends, How to store the values of a columns in to the appropriate variables. struct ABC { int a; int b; char *str; }; a bname 1 2 ABCD 2 4 WXYZ