Hi Friends,

        How to store the values of a columns in to the appropriate
variables.

         struct ABC
         {
             int a;
             int b;
             char *str;
         };

        a         b        name
        1         2         ABCD
        2         4         WXYZ


   Now i am taking a variable to a structure, and i want to load the column
values of a particular row.

   ex:   struct ABC   st;

            st.a =  //store the record 1's   'a' value.  
            st.b =  // store the record 1's   'b' value. 
           st.str = // store the record 1's    'name' value.

Regards,
Bhaskar Reddy.
-- 
View this message in context: 
http://old.nabble.com/how-to-restore-the-column-values-into-the-structure.-tp33172778p33172778.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to