codetoad.com
Home||ASP|ASP.Net|C++/C#|DHTML|HTML|Java|Javascript|Perl|VB|XML||CodeToadPlus!||Forums||RAM
Search Site:
Search Forums:
putting/linking the value of a list box into MS ACCESS database blakeph at 14:53 on Tuesday, June 07, 2005

hi guys!

do you have an idea on how to put/link the value of a list box into MS Access Database? i have a project that has a long list of "value option" i want it to put into a MS Access database to reduce html code, any help would be highly appreciated. below is my sample code. thanks!


<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Sample Project</title>
</head>

<body>

<p>
<FONT FACE="sans-serif">
<SELECT id="Select5" NAME="Select5" SIZE="9" MULTIPLE style="width: 112; height: 150">
<option value="Africa">Africa</option>
<option value="Antarctica">Antarctica</option>
<option value="Asia">Asia</option>
<option value="Australia">Australia</option>
<option value="Europe">Europe</option>
<option value="North America">North America</option>
<option value="America">South America</option>
</SELECT></FONT></p>

</body>

</html>

Re: putting/linking the value of a list box into MS ACCESS database Troy Wolf at 03:27 on Friday, June 10, 2005

This is not a javascript question.

To have a web page get content from a database, you'll need to use server-side scripting such as ASP, PHP, JSP, CGI, or CF (Cold Fusion).

OK, technically, you can write ASP scripts using javascript, but I don't recommend it.

So, the question is what operating system and what web server are you using? You mentioned Microsoft Access, so I will assume you are dealing with IIS on Windows. In this case, use VBScript to code an ASP script that builds your page. It will be able to connect to the access file, select the data out, and insert it into your HTML.

How do you do this? That's a big question! If you are not a programmer, then you got to start with a basic tutorial. Just Google for ASP Tutorial.

I do not recommend ASP.NET for a beginner just wanting to do some simple scripting. ASP.NET is powerful for sure, but in my opinion, .NET ripped web development out of the hands of the casual programmer. But hey, that's good for me! I'm a professional programmer!

Troy Wolf: site expert
SnippetEdit Website Editor









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
matrix addition
Re: Storing data from HTML to Excel or TXT
Re: function within loop problem
Re: Ô‡´ò¥¯¥é¥Ö¤Ï ¥Æ©`¥é©`¥á¥¤¥É£ò£±£±¥¢¥¤¥¢¥ó ¤Î£··¬ ¤Ç¤¹
Re: Replace
Re: タイトリスト AP2アイアン 712�情�
Re: SMS from Perl using HTTP request
Re: Charl Schwartzel
Re: Adhyayan - Annual Student Conference and Online Coding Festival


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


Copyright codetoad.com 2001-2013