Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 7th, 2010, 05:12 AM
Registered User
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Displaing acess 2007 attachemnet data type in asp.net

Hi,
First of all thanks in advance.I am facing problem in visual web developer 2008 since many days.The problem is that how to display acess 2007 attachement data type in visual web developer(i have image saved in acess 2007 as attachment data type).
Plz plz help me urgently.
Thanks
Bye
  #2 (permalink)  
Old September 8th, 2010, 12:58 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Access 2007 is a database, so under normal circumstances, I wouldn't think you would "display" the database itself, you'd program a DB connection, draw out the data, and then format the data for display in your webpage.

If you want people to be able to download the database file, that can require a little finesse. .NET does a lot of things to "protect" your files from unauthorized access, and DBs get a lot of attention so your server is literally fighting you to keep those files secret. I would recommend zipping the database up. That will compress the database to a smaller size (possibly a major advantage) and make it available as a .zip file which servers are "download-friendly". You can then use a simple link element...

<a href="http://www.MySite.com/Path/To/File/MyDatabase.zip">Click here to download the sample database as a zip file</a>.

And people should have easy access to the DB file.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
  #3 (permalink)  
Old September 9th, 2010, 12:09 AM
Registered User
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Displaing acess 2007 attachemnet data type in asp.net

Sir,
Thanks for your cooperation,I just want to display a filed saved in acess 2007 with attachement data type in asp.net.I don't want to display my whole database as attachement.Actully i saved many images in Acess 2007 with attachement data type and want to display those records in asp.net.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
he conversion of a char data type to a datetime data type resulted in an out-of-range adamhw Classic ASP Basics 3 December 23rd, 2009 06:18 AM
SQL Chap. 10 Beginning Acess 2007 VBA sjar Access VBA 1 October 16th, 2009 08:55 AM
DateTime data type in ASP.NET skhan ASP.NET 3.5 Basics 5 August 28th, 2009 05:05 PM
Data insert into Acess using vb.net (1.1) MDM VB Databases Basics 0 March 5th, 2006 12:38 PM
Data acess with .NET btls BOOK: Professional C#, 2nd and 3rd Editions 1 June 14th, 2004 11:21 PM



All times are GMT -4. The time now is 05:43 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.