473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSSQL Questions - Images and Frontpage integration

Ryan F Bracy
I'm currently a computer networking student, and a semester long project this year requires us to build an online store using IIS6 and MSSQL. I have run into a dead end in this project and cannot find information or documentation that answers my questions.

So as follows.
  1. How do I store an image in the MSSQL database, preferably through a frontpage-created form with upload boxes?
    I am working with forms that I create in Frontpage (a requirement of the course) to add entries to the database. Working with just text boxes and text areas I have had much success with this, but I cannot figure out, when using upload boxes, how to direct the file uploaded to be stored in the database instead of a folder on the local machine (I have associated these upload boxes with the image and thumbnail fields on the appropriate table, with no success)
  2. How do I use dropdown boxes to limit the number of selections on a backend form which inserts data into the SQL database but pulls it's selections from the SQL database instead of generating list entries myself.
    Currently my attempts have been to insert into the form a database results entry which pulls the data from appropriate tables, lists by name, but uses the associated numerical key to store the data, with no success)

These issues have been driving me crazy and with 4 weeks left before it's due, I'm pulling my hair out trying to figure it out.

Thanks in advance for any help you can give, if I've not been 100% clear with my explanations, please contact me and I will clarify to the best of my ability.

~Ryan F. Bracy "Angel"
Apr 2 '07 #1
6 1524
iburyak
1,017 Expert 512MB
1. If I find my old code I will share it with you. The thing is pictures are not stored in SQL serve even thou it is possible as binary. It puts strain on a server and works terribly. What usually is done picture is stored on sharable server drive not on local machine and full path to that picture is stored in a database.

2. I need more information on table definitions and code you use.

I think I saw these questions before but you keep changing your nick and I am not sure if it is the same person.


Irina.
Apr 2 '07 #2
iburyak
1,017 Expert 512MB
By the way, how did you put picture next to your nick here?
I don't see how to do it.... :)
Apr 2 '07 #3
I think I saw these questions before but you keep changing your nick and I am not sure if it is the same person.
Irina.
This is my first time ever posting here.

and I will try to remember to post the code we're using presently.

Today our professor decided that we need to use all ASP to make the site, as frontpage doesn't have the capabilities to do what he wants us to do...with 3 1/2 weeks left before the project is due, and now he tells us that we have to learn ASP and code our whole site with it. When I suggested ASP from the beginning and was shot down...
Apr 5 '07 #4
By the way, how did you put picture next to your nick here?
I don't see how to do it.... :)
it's under the control panel, under edit avatar....
Apr 5 '07 #5
iburyak
1,017 Expert 512MB
I did find code how to convert picture into a binary stream. But I am sure if you'll see complexity of it you will change your mind to use it.... :)

Suggest your professor to FTP picture to the server and save it their as I originally suggested on server side and save full path to the picture in a database.

If you still want code I found - send me private message with your direct e-mail.
I am not going to post this code on forum.

Thank you.

P.S. Is it possible that your professor was asking the same thing on forum here? :)
Apr 5 '07 #6
iburyak
1,017 Expert 512MB
it's under the control panel, under edit avatar....
Thank you... :)
Apr 5 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Tack | last post by:
OK, I admit it - I'm a FrontPage user ! :-} Now learning PHP and I LIKE it! but - anyone had problems or offer advice about integrating PHP with FrontPage extensions? Specifically avoiding...
11
by: badz | last post by:
Hi frenz Lately I try to use MSSQL and PHP , the problem arise when PHP try to read MSSQL field with 'image' data type, header("Content-type: image/jpeg"); // act as a jpg file to browser I...
0
by: iTISTIC | last post by:
I've read the following articles a few times over: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg_rm.asp ...
2
by: David | last post by:
The web developer environment under VS is a pain! I want to use Frontpage, but will Frontpage handle the code portion of asp.net or just the HTML? Also, if you develop ASP.NET apps with...
4
by: Khamal | last post by:
Hello.... My web service cannot connect to My MsSql DB. error message... ---------------------- An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
7
by: Olegus | last post by:
Hello, in order to perform backup/restore MSSQL database using SMO, one needs to reference several namespaces in a backup class : using Microsoft.SqlServer.Management.Common; using...
1
by: vvoltt | last post by:
Hi Guys. I have a MSSQL database of 2 gigs which has about 100mb of data, the rest is images. I have noticed a huge decrease in performance as more images are entered into the database (most...
1
by: GeezerButler | last post by:
I thought JS was purely on client side. But if i do myImage.src = 'someImageOnServer.gif", it seems to work. How does JS do this? Is a request sent to the server when this line of code is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.