[Dev-C++] Creating controls based on a database
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ed C. <em...@to...> - 2003-08-18 21:51:41
|
Hi all - I have a fairly straightforward requirement: query a database table, then generate checkboxes and labels to correspond to each row, with the checkboxes remaining non-static. For example, if my data consists of names of people, I want to add controls to my form like: [] John Doe [] Suzie Q [] G. W. Bush [] Jacque Chirac ... ([] represents a check box) Assuming I know how to query the database and store the data in an array, how would I use this array to create these controls? Thanks! -Ed |