p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 (http://p2p.wrox.com/forumdisplay.php?f=252)
-   -   Wrox Photo Gallery In C# Source Code (http://p2p.wrox.com/showthread.php?t=57113)

Sojan80 April 25th, 2007 03:40 PM

Wrox Photo Gallery In C# Source Code
 
Ok, I think I have it all working now... This does not include the modifications... its just the basic gallery. Download it from here http://www.uwsp.edu/conted/downloads...oGalleryCS.zip

Sojan80 April 25th, 2007 04:17 PM

I don't know if I will attempt the modifications or not though


Imar April 25th, 2007 04:21 PM

Hi Sojan80,

Great stuff. Thanks a lot for doing this.

I'll ask Wrox to make this a sticky post, so others interested in the C# edition of the Photo album can find it as well.

Thanks again,

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

Sojan80 April 25th, 2007 05:39 PM

Imar,
Thanks!:D It took me a bit to get it working. Some bits I figured out on my own and some I got from various articles on various websites... including yours. All things considered it was a fun learning experience!

I'm in the process of debating trying to tweak this so it will let me create a new folder within a folder I would have set up to house the individual gallery folders with the gallery folder name being specified by the user for each gallery they want to create and upload all the images for that gallery there.

I've been looking around for some ideas on just how to do this and so far I know I will need System.IO and System.IO.Directory to create the new folder specified by the user.

I'm also pretty sure that the folder it will put all the gallery folders / images in will need write permissions but I'm not quite clear on who gets those permissions yet. If it is IUSR or the ASP.NET Process or what. Once I figure that out I'll decide whether or not to go forward with my idea for the sub folders.

All I need now is a way to do something like the preview button here and I'll have just about all I need to start trying to build my first ASP.NET website! Got any ideas where I can find some information on how to do that?


Imar April 26th, 2007 12:43 PM

Hi there,

The account is either ASPNET (XP) or Network Service (Server 2003).

I haven't really looked at how the previous window works here, but I think it simply posts to another window that posts the content.

In .NET you can do this with CrossPagePostBack. Alternatively, you do it with a regular post back. However, it all depends on the actual page, and where you can store intermediate data without saving it in the database.

Hope this helps,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

tkroro November 29th, 2007 04:13 PM

Does anybody have this code? The link is no longer working.

Thanks in advance.


Imar November 29th, 2007 06:30 PM

Sorry, no I don't. Have you tried sending Sojan80 a message through his / her Profile page??

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004

ali3dt December 28th, 2007 04:50 PM

There is not contact info on Sojan's profile page :(
Anybody know's where I can find the photo gallery in C# code?


Imar December 28th, 2007 05:10 PM

There is.... Just click "Click to send an E-Mail" on his Profile page....

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

ali3dt December 29th, 2007 08:57 AM

Very werid!!! Under Contact Section it says " No info specified... "
to any member profile page i go? Is it maybe because i'm a new member or something I can't send emails?


All times are GMT -4. The time now is 12:00 AM.

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