May 2nd, 2007, 11: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, 12:03 PM
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 12:05 PM.
If the world doesn't stop annoying me I will name my kids ";DROP DATABASE;" and get revenge.
May 2nd, 2007, 02:00 PM
And how do i access those variables in my asp page?
May 2nd, 2007, 03: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 03: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, 05:32 PM
In this FAQ you can understand how to save images in a database.
vbcity has much resources, I recommend you this website.