p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > C# and C > C# 1.0 > C#
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 17th, 2008, 04:06 PM
Registered User
 
Join Date: Sep 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default upload more than 10.000 Documents (this is once ta



Hello everybody,

i am working on a Document Management System with Asp.Net 2.0 , C# and Oracle and i like to do the same wich is described in this article(http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414) . it works good. The big problen is, that i like to upload more than 10.000 Documents (this is once task). How to do that?I have a table in my oracle database with the follow properties (Document_id, Document_name , Document_type, Content.type, Blob). The 10.000 files (e.g. *.pdf, *doc, *.ppt) is storing in my Harddisk. How to do that with C#.Please help me, i am writing my Master and i dont make any progress.

I have an idea, ex. to store this information in an array an then give him to an oracle procedure



CREATE PROCEDURE sprocFilesInsertSingleItem

  id uniqueidentifier,

  fileData blob (max),
  originalName nvarchar(50),
  contentType nvarchar(50)

AS

INSERT INTO Files
(
  Id,

  FileData,
  OriginalName,
  ContentType
)
VALUES
(
  :id,

  :FileData,
  :originalName,
  :contentType
)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 17th, 2008, 04:44 PM
Friend of Wrox
Points: 1,368, Level: 14
Points: 1,368, Level: 14 Points: 1,368, Level: 14 Points: 1,368, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2007
Location: Hampshire, United Kingdom.
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

Is a database really the best place to store all that content?! Why not FTP and then run a script to update the DB with the file paths? Yeah you would need to be careful on the dependancy, but thats what a management system is for ;)

Rob
http://cantgrokwontgrok.blogspot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Extended price over $1,000.00 JDBennett BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 July 8th, 2008 01:04 PM
Moving 2,00,000 records effectively FileFound Visual Studio 2005 9 September 21st, 2007 09:20 AM
textbox cutting off text? but maxlength is 10,000? ALEX_GRIM Classic ASP Basics 3 February 6th, 2005 08:47 AM
Form to upload documents webby ASP Forms 4 October 24th, 2004 12:34 AM
Searching through 400,000 records clueless_may Access VBA 6 July 12th, 2004 01:21 PM



All times are GMT -4. The time now is 03:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc