MySQL Forums
Forum List  »  Connector/C (libmysql)

Re: problem in mysql_list_dbs()
Posted by: Wai Lap Lee
Date: May 14, 2005 10:06PM

I am using MFC, I hope this can help you.

1. MYSQL_RES* res = mysql_list_dbs(...)
2. MYSQL_ROW row = mysql_fetch_row(res)
3. combobox.AddString(row[0])
4. Repeate step 2, 3 until row = null.

I haven't add any error checking here.

Options: ReplyQuote


Subject
Views
Written By
Posted
972
May 09, 2005 01:46AM
Re: problem in mysql_list_dbs()
473
May 14, 2005 10:06PM
466
May 28, 2005 04:55PM
430
June 03, 2005 03:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.