Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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
 
Old September 8th, 2010, 12:58 PM
Friend of Wrox
 
Join Date: Jun 2007
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.
 
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.





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 07: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 01:38 PM
Data acess with .NET btls BOOK: Professional C#, 2nd and 3rd Editions 1 June 14th, 2004 11:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.