Getting database records into an array
Hi there,
I'm new here, so this is my first post ;)
I've got a problem to get my database content into an array, in fact I don't have a clue how to do it :-s. It's the plan to process all the records and to put the content of those recors in the array. Can someone tell me how to do it? Thanks in advance!
This is the code that I have, for the moment I have hardcoded the array, but it's the purpose to fill the array with the database content.
string MainSQL =
"select id, firstname, surname, gender, email, telephone, city +
"from persoon";
string[,] persons= new string[2, 7];
persons[0, 0] = "1"; (id)
persons[0, 1] = "Jef"; (firstname)
persons[0, 2] = "Maes"; (surname)
persons[0, 3] = "male"; (gender)
persons[0, 4] = "jef@jef.be"; (email)
persons[0, 5] = "123/456789"; (telephone)
persons[0, 6] = "Testegem"; (city)
persons[1, 0] = "2";
persons[1, 1] = "Koen";
persons[1, 2] = "Mertens";
persons[1, 3] = "male";
personen[1, 4] = "koen@koen.be";
persons[1, 5] = "123/456789";
persons[1, 6] = "Testegem";
P.S. Excuse me for my bad english.
Answers (1)
1
There is some useful conversion application available in Online Market, You can try to use any of them to import your desire Emails and other items of MAC Outlook 2011 in Outlook 2010. I would like to advise you such a perfect conversion software of OLM to PST , This software is well known as OLM to PST Converter Pro tool that restores all emails and attachments of MAC Outlook 2011 in Outlook 2010 without losing any original data. By visiting this source http://www.gladwevsoftware.com/olm-to-pst-converter-pro/, You can get further great information about this tool.
Accepted 0
OLM to PST is advanced software that facilitates the user to seamlessly migrate Outlook for Mac, OLM mailbox into Outlook PST mailbox. Read more and free download click here http://olm2pstsoftware.blogspot.com
0
OLM to PST Converter Tool helps user to access Mac OLM file with Windows 10/8.1/ 8 / 7 / Vista / XP in the form of PST file. It can quickly and easily exports all OLM mails, journals, contacts, calendar events and many different types of files into PST format.
http://www.recoverfilesdata.com/olm-pst-converter.html
0
Use OLM to PST Converter which can convert OLM to PST & will make it easy to move from one platform to another.It can perform this task effortlessly with lots of favorable eminence aspects. It also recover damage or corrupted OLM files and saves them into the emails in PST, MSG and EML file format.See more- http://www.softmagnat.com/olm-to-pst-converter.html
0
0
I used this tool olm to pst connverter pro and got rid of this mail migration issue.
Nice tool to work with, migrated all my emails easily.
0