RE: [Dev-C++] Creating controls based on a database
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: P.D. v. Z. <pa...@my...> - 2003-08-18 22:36:23
|
That depends on what API or library you wish to use. If you had specified that up front, people would be able to provide you with samples. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Ed Cottrell Sent: Monday, August 18, 2003 11:51 PM To: 'Dev-Cpp-Users' Subject: [Dev-C++] Creating controls based on a database 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 |