Hello,
I'm writing a simple application which will insert some data into data base and will retrieve data to fill for example a combobox.
Because I'm a total beginner in Builder I have no idea how to:
1) Set a connection string to MS SQL data base
2) Execute some simple SQL Queries like select, insert, update
Please help!
Regards, Paul
PS. Unfortunately I must write it in Builder 6.0 :/
Borland Builder C++ 6.0 & SDAC, MS SQL 2005
There is the "Getting Started" topic in the SDAC help. It contains all necessary information to quickly get started working with SDAC.
Moreover, the SDAC installation package includes a number of demo projects that demonstrate SDAC capabilities and use patterns. You can find SDAC help in the SDAC_InstDir\Help\ or in the "SQL Server" main menu item of the C++Builder IDE. Demo projects are placed in the SDAC_InstDir\Demos\ directory.
SDAC_InstDir is the SDAC installation directory on your computer.
Moreover, the SDAC installation package includes a number of demo projects that demonstrate SDAC capabilities and use patterns. You can find SDAC help in the SDAC_InstDir\Help\ or in the "SQL Server" main menu item of the C++Builder IDE. Demo projects are placed in the SDAC_InstDir\Demos\ directory.
SDAC_InstDir is the SDAC installation directory on your computer.
Hello,
I've read SDAC Help as you said, but I couldn't find any project file in SDAC_InstDir\Demos\ directory. There are only *.dfm and *.pas files. Is it because I've trial version of SDAC? I'm especially interested by an example of how to fill a combobox (using DBcombobox control) and how to make an insert to data base from textBox.
Thanks in advance.
Regards
I've read SDAC Help as you said, but I couldn't find any project file in SDAC_InstDir\Demos\ directory. There are only *.dfm and *.pas files. Is it because I've trial version of SDAC? I'm especially interested by an example of how to fill a combobox (using DBcombobox control) and how to make an insert to data base from textBox.
Thanks in advance.
Regards