Need vital help about MFC - ADO.Net (SQL connection)
-
Even if you do get a sample, and convince the guy to give you a job, you will fail in it very soon because you know nothing about C++ and MFC. And dont hnink because you know C# you can pick up C++. You are going to be in a world of pain if you take this job. And you are going to damage your reputation when the boss relises what a dishonest liar you are and sacks you. Get a job that matches your skills. Or learn new skills.
============================== Nothing to say.
-
This one is in c#. hence c# code is not all that different from c++ code, just convert.. Populate data from database in a ComboBox (c#) http://www.codeproject.com/KB/database/comboboxhtmlpage.aspx
-
My boss knows everything and I have a little knowledge about C++ , also I have 6 applications in business that I've created... Plus, in the job interview I said to my boss that I have no knowledge about mfc but he said ok cause he is not like "some" others (He believed me)... PLEASE STOP CALLING ME LIAR!!! I just wanted a little help!!! WHAT KIND OF PEOPLE YOU ARE???!!!!!!!!!!! You are liars while you resist to remember your past (I mean your first years in business???) You born with laptops???!!
Right, so if your boss is happy to let you learn on the job then sit down at a computer with Visual Studio installed, and the MSDN, and go through the MFC tutorials. You will learn all about creating apps, adding controls, manipulating data and so on.
============================== Nothing to say.
-
Hi there all, I am totaly new to MFC! I have just found a job that I have been dreaming for... But my boss is asking for an C++/MFC(Dialog) sample that connects to SQL and fill the combobox by the data taken from database (Northwind for example)... I know how to do that in C# part but really I have no idea how in C++. Please can somebody help me???
C++ MFC ado ado.net sql connection
Hi, I'm assuming you are going to use ADO (not ADO.NET). I have some experience in developing apps that use MS SQL DB, ADO and MFC in C++ (since 2002). Sorry to say I don't have a code sample I can give you but you might take a look at this: A set of ADO classes - version 2.20[^]. I have not used that code myself but it looks like it will take care of connecting to the SQL DB and getting data from it.
-
My boss knows everything and I have a little knowledge about C++ , also I have 6 applications in business that I've created... Plus, in the job interview I said to my boss that I have no knowledge about mfc but he said ok cause he is not like "some" others (He believed me)... PLEASE STOP CALLING ME LIAR!!! I just wanted a little help!!! WHAT KIND OF PEOPLE YOU ARE???!!!!!!!!!!! You are liars while you resist to remember your past (I mean your first years in business???) You born with laptops???!!
Try to ignore those A-holes. With 8M+ members quite a few are "less than perfect". I think you are very brave to enter the harsh world of C++, MFC and ADO - coming from your C# background. I wish you well.
-
Hi, I'm assuming you are going to use ADO (not ADO.NET). I have some experience in developing apps that use MS SQL DB, ADO and MFC in C++ (since 2002). Sorry to say I don't have a code sample I can give you but you might take a look at this: A set of ADO classes - version 2.20[^]. I have not used that code myself but it looks like it will take care of connecting to the SQL DB and getting data from it.
-
Try to ignore those A-holes. With 8M+ members quite a few are "less than perfect". I think you are very brave to enter the harsh world of C++, MFC and ADO - coming from your C# background. I wish you well.
-
Message content removed. Irrelevant.
If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braunahmed zahmed wrote:
...you spineless snake.
Two posts in and you've already resorted to name-calling. Amazing. :(
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
Even if you do get a sample, and convince the guy to give you a job, you will fail in it very soon because you know nothing about C++ and MFC. And dont hnink because you know C# you can pick up C++. You are going to be in a world of pain if you take this job. And you are going to damage your reputation when the boss relises what a dishonest liar you are and sacks you. Get a job that matches your skills. Or learn new skills.
============================== Nothing to say.
Erudite__Eric wrote:
...what a dishonest liar you are...
How do you know he lied? My very first job out of college I got because I had experience with Pascal on a Unix platform. Shortly after I was hired, my first assignment was a C program on a DOS platform.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
Erudite__Eric wrote:
...what a dishonest liar you are...
How do you know he lied? My very first job out of college I got because I had experience with Pascal on a Unix platform. Shortly after I was hired, my first assignment was a C program on a DOS platform.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous