RE: [Dev-C++] Creating controls based on a database
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ed C. <em...@ed...> - 2003-08-19 01:20:13
|
> That depends on what API or library you wish to use. I'm using the (Microsoft) Win32 API - sorry about that. -Ed -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of P.D. van Zelst Sent: Monday, August 18, 2003 6:36 PM To: 'Ed Cottrell'; 'Dev-Cpp-Users' Subject: RE: [Dev-C++] Creating controls based on a database 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 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including = Data Reports, E-commerce, Portals, and Forums are available now. Download = today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= 01 _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |