I am using MFC. I need a control just like listControl, it has such functions:
MyListControl mylistControl = new MyListControl();
mylistControl.setDataSource(...);
mylistControl.setSQLStatement("select a, b, c, d from table where a > 3");
and system will have a listControl which is populated with the data from database, and generate the corresponding columns a, b, c, d respectively. If there is such kind of a control, please tell me. If you have any suggestion, please let me know. Thanks in advance!