May 2nd, 2007, 10:25 AM
Argument passing and databases
1. How can I pass arguments within a URL and how can I access the parameters passed within the webpage called.
2. How can I store an image within a SQL Server database.
May 2nd, 2007, 11:03 AM
as for #2.... not a part of SQL I have covered, sorry.
I know google has the first answer, I suspect it has the second too.
Last edited by Aardpsymon; May 2nd, 2007 at 11:05 AM.
If the world doesn't stop annoying me I will name my kids ";DROP DATABASE;" and get revenge.
May 2nd, 2007, 01:00 PM
And how do i access those variables in my asp page?
May 2nd, 2007, 02:25 PM
You can use a url as Aardpsymon suggested.
Using ASP you can retrieve those variables using
Instead of using the querystring you can use a form. To get the form values use
variable = request.querystring("variable")
For more info try this link..
variable = request.form("variable")
As for saving images into a db - this link might help (even if you don't use ASP.NET it should still give you some good pointers.
Last edited by omin; May 2nd, 2007 at 02:31 PM.
\"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth,
nor does lightning travel in a straight line.\" -Benoit Mandelbrot
May 2nd, 2007, 04:32 PM
In this FAQ you can understand how to save images in a database.
vbcity has much resources, I recommend you this website.