Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Present database info to the user.

Hi all again. After playing around with C++ for about a week now (yea I know, I haven't even scratched the surface yet.) I am about to embark on my first database application with SQL Server. I can connect to the server retrieve information so on and so forth. But here is my question. What is the best way to display this information to the user. In .Net we had databinding and a dis-connected architecture. Does databinding exist in C++, i can only assume it does? Can C++ implement a dis-connected architecture? Also what about controls, i.e datagrid? What is the best way to go about this, i am just a bit confused.

Thanks.
[641 byte] By [zeek840] at [2007-11-11 10:30:37]
# 1 Re: Present database info to the user.
The answers to all your questions is "yes but". Of course you can do anything with C++. The question is which C++ exactly. Normally, you'd use a specific variant of this language and a plethora of platform specific APIs, syscalls, libraries and frameworks. So what you need to do is look for an appropriate library/framework that has such services, for example Corba, DCOM and more recent frameworks.
Danny at 2007-11-11 20:58:41 >
# 2 Re: Present database info to the user.
If you were to use BCB++ then you would have controls /components for that kind of thing (TADOTable, TADODataSet etc) which rely on ADO (coming from .net you are probably familiar with ADO) or the BDE (Borland database engine). The point is it's relatively easy when you find the adequate API for your C++ platform.
Ivan** at 2007-11-11 20:59:42 >