adampatric
2010-02-15 06:06:00
Hello Everyone,
I need help in building website from you all. I am building a website
for my business , I have knowledge of ASP.net but I am facing problem
in attaching database. I have tried many time but I can not attach my
database with the site so please help me…
jimthesoundman
2010-02-23 00:59:44
I don't know asp.net, but I know some php. You might be having the same sort of problem I usually have.
The problem I often have with getting my database going is I only do two of the three steps.
For PHP, the steps are:
1. Make a connection to the database server with your server login name and password.
2. Submit a query to the correct database, if there are several on that server.
3. Dump the query results into an array.
I usually forget step three, and keep trying to read the query results directly, and that's not possible, the query results have to be put in an array to be usable or readable.
Also, when I'm building a database, try to use the database admin tools to add some "practice" data to the website before you get all your asp scripts running so you will have some data to practice with. That way you can do experiments and make sure everything is running properly with just a little bit of data before you add all your massive quantities of "real" data.
Hope this helps.
JIM
Frement
2010-02-23 01:44:34
Giving more accurate questions/problems/errors will give you better answers. As i only know PHP I cant really help with ASP, i could google something and the might be able to help.