Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
| 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 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 17th, 2008, 03: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
)




 
Old September 17th, 2008, 03:44 PM
Friend of Wrox
 
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




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 12:04 PM
Moving 2,00,000 records effectively FileFound Visual Studio 2005 9 September 21st, 2007 08:20 AM
textbox cutting off text? but maxlength is 10,000? ALEX_GRIM Classic ASP Basics 3 February 6th, 2005 08:47 AM
Searching through 400,000 records clueless_may Access VBA 6 July 12th, 2004 12:21 PM





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