Hello Everyone,
I have created a textbox(areabox) in an ASP page where applicants can copy and paste their resume into. After they hit submit, the data will be stored in a SQL server. Now, if you r familiar of how a resume looks like, they look something like the sample I have pasted below(in red). Pay attention the spacings, tabs, carit returns, etc.
I have two question that I need your help to answer. I have tested this by submitting and storing a resume in SQL. When I go into SQL to look at the data, it looks EXACTLY(with the spacings, tabs, carit returns, etc.) like what I have submitted. First question, is it good programming practice to have it stored like this? I mean, is it bad programming because of the extra spaces, tabs, etc.? Is there another way to do this?
Second question. Remember I mentioned that the format I saw in SQL looks exactly what I have pasted below. However, when I created another page to retrieve this very same resume, the format is all messed up; all texts were not indented as they were when I submitted the it. There were no more spacing between lines. How can I fix this? Please help!!!
Someone told me to use the ASCII (
http://www.asciitable.com./) codes to format my texts when retreiving the data. For example, put the data in a variable, and then do something like this: sDocVariable = Replace(sDocVariable, chr(10), "<br>")
But my question is, is this the way and only way to fix the formatting?
Thanks in advance for all your help!!!
Leon
OBJECTIVE: Seeking a Computer System Support or Web Page Design/Maintenance internship
EDUCATION:
California State University Long Beach
Bachelor of Science in Business Administration
Major: Management Information System
Marketing
Emphasis: Business System Analysis
SOFTWARE APPLICATION:
MS XP Word, Excel, Access, PowerPoint, Publisher, Outlook, FrontPage, Flash 5, Dream weaver 4,
Adobe Photoshop 6, Adobe Illustrator 9, Adobe Premier, Visual Studio
PROGRAMMING LANGUAGE:
Oracle/SQL, C++, HTML, Visual Basic
OPERATING SYSTEM:
Win NT, 95/98/2000/XP