[gnome-db] Help



Dear Sir,

I am newbie with libgda.

I am trying to run following code.

#include<libgda/libgda.h>

....

GdaRecordset *rs;
glong rc;

/* Execute the command */
rs = gda_command_execute(cmd, &rc, 0);

/* Display the results. */
gda_recordset_move_first(rs);
while (!gda_recordset_eof (rs)) {

  /* Retrieve the name field. */
  GdaField *name = gda_recordset_field_name(rs, "name");
  g_print ("Name = %s\n", gda_stringify_value(NULL, 0, name));

  /* Move to the next row. */
  gda_recordset_move_next (rs);
}

....


but compiler doesn't find GdaRecordset ...
it this class removed ?
if yes then what is the alternative way ?

also , do you have any Big Examples using libGda ?
(I find only 1 example provided with this lib...not enough for me !)

Please forward , if you have , more examples using libgda.


Thanks.



Sincerely,

Maulik Patel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]