Solved

Uploading Word Docs with asp and storing in SQL server 2000Question

Posted on 2008-10-22
2
253 Views
Last Modified: 2013-12-24
Hi All ,
Im currently working on a website that requires the functionality of being able to accept uploaded CVs from registered users and storing them online so they can attach them to job applications, get headhunted by recruiters,

I am a little confused over how to store these CV's in SQL, My options are this,

1. User copies and Paste their CV into an RTF box and hits submit to save to the database in a text field or blob,

2. User attached their CV and then the CV is saved toi disk

I am trying to find the best solution to accomplish this eg storing the CV word docs in the actual database using BLOBS or storing CVs in a folder and then the next concern I have is how can the recruiters search on specific key words if saved to the DB or the file on disk, guys, this is my only stumling block and I cant seem to get my head around how to achieve this.

I have seen job sites where users can copy and paste their CV into an RTF control and recruiters can search on it. how they do this I have not idea,

Any ideas or examples would be much appreciated ?

(Using ASP, Windows XP workstation, server, SQL SERVER 2000)

Many Thanks
0
Comment
Question by:IMcMillan
2 Comments
 
LVL 8

Accepted Solution

by:
saoirse1916 earned 500 total points
ID: 22788161
If you want to be able to search the files you'll definitely want to store the file itself in the database.  But you don't have to make the users copy/paste to do that -- you can upload a Word file into a varbinary datatype (or image, if you don't have varbinary).  Enable fulltext indexing on that field and build your index and the field is then searchable.

Here's a few links I used when setting this up on one of my sites:
http://www.codeproject.com/KB/architecture/sqlfulltextindexing.aspx - full text indexing
http://www.sitepoint.com/blogs/2006/11/12/sql-server-full-text-search-protips-part-1-setup/ - full text indexing
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4 - uploading files into the DB
0
 

Author Closing Comment

by:IMcMillan
ID: 31508965
Thanks for this solutions this was exactly what I was looking for, Thank you very much for your help. A+
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now