Hi Pals,
I am Anes , from Kerala ,India. I am a PHP Programmer Basically
but have interest and now studying C++ , I plan to
take data from MySql in C++, for that I install mysql-connector-c++-1.1.0-win32.msi
in my Windows XP. I got a Script from net , but it will not Work... Do you
please Explain how to Insert and select data in C++ with the help of a Code
and other things related to the Driver(mysql-connector-c++-1.1.0-win32.msi).
Regards
Anes P.A
0 1464 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Max |
last post by:
Hi,
I have the following problem. I want to insert records into one table
using the combination of two other tables. Here is a simplified
example: Let's say the first table has a column with RaceCode (which
might have values such as 1,3,5,7, etc), the second table is like a
key for this RaceCode so it has two columns (1st one is 1,3,5,7, etc
and 2nd one with description such as Caucasian, Hispanic, African
American, Native American, etc)....
|
by: Materialised |
last post by:
Hello everyone,
I am having a issue inserting values into a MYSQL table, and for the life of
me, I can figure out why. I know the connection is successful, however I am
getting errors.
The table has 4 fields, all of them are Text values.
Here is my code:
Dim myCommand As New MySqlCommand
|
by: ncsthbell |
last post by:
I am trying to run a query in access using the 'max' function. For example, I have many rows of data, one for each state and each state has a column for 'Miles'. I want to get the highest number of miles so I am using the max function... Select max(miles) from table. It works and returns the largest number in this column. I also need the state that is associated with the max miles so I changed my select to:
Select state, max(miles) from...
|
by: troydixon |
last post by:
Hello,
I am new at this, and have been trying to insert data into a table by using the footer of a gridview (which I dont like) or by using a detials view on the same page that is doing the following:
1) gets query string from url and filters records (works great) via a Details View
2) shows notes that have been added to the record shown in the details view using a grid view, and it filters the data by looking at the ID that is selected in...
|
by: printline |
last post by:
Hello All
I need a little help with a phph script to display some specific data from a mysql table.
I have a mysql table with 4 columns and 10 rows. I want to display fx. data from row 4, 6, 8 and 10.
I can display either the first row or all the rows using the below code:
$row = mysql_fetch_array($result) or die(mysql_error());
echo $row. " - ". $row. " <img src=images/arlon.jpg /> ". $row. " - ". $row;
| |
by: nabh4u |
last post by:
hi,
I am trying to insert multiple rows in a table using PL/SQL. I have two procedures and two tables. the first procedure gets the data from the source table, manipulates it and then sends the data to the second procedure which inserts the data into the target table. The way i do it, it inserts only one row into the target table. I am not able to understand what the problem is. It would be great if anyone could help me.
Following is the...
|
by: chennaibala |
last post by:
hi frds...
in my hiden textbox.i have following values...
robert|true|true|false|arun|true|false|true|anu|true|true|false|
i want to splits in to token and insert in mysql table in following manner
namefield writefiled readfield speakfield
robert true true false
arun true false true
anu true true false
|
by: pradeepjain |
last post by:
Hii guys,
I have 2 tables in which data exists of a same user like his table1:login details and table2: his further details . I have a form where in his both login and rest of details are collected. When i submit the form it needs to insert data in both the tables . Which is the best method to do it . insert into 1st table and if successful then insert into 2nd table ?
|
by: pavelcc |
last post by:
I need to insert data into a table after validating that the data doesn't already exist on the table.
In addition to that I need to update data if there are any changes.
I got the insert part as:
DECLARE
@SUGAR_ID VARCHAR (150)
SELECT @SUGAR_ID = ID FROM DEVSUGARCRM.DBO.ACCOUNTS --@SUGAR_ID
IF NOT EXISTS (SELECT * FROM ADVERTISER WHERE SUGAR_ID = @SUGAR_ID) --NOT EXISTS
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |