Current location: Hot Scripts Forums » Programming Languages » ASP.NET » trying to create an upload function that writes to MS access database

trying to create an upload function that writes to MS access database

Reply
  #1  
Old 04-24-09, 02:37 PM
KamalRahman KamalRahman is offline
Newbie Coder
 
Join Date: Mar 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy trying to create an upload function that writes to MS access database

Hi ya!

im using asp.net thorugh visual studio, where im trying to create a upload function where i can upload files and send them to MS access database.

i've used the upload function from the tool bar, provided by visual stuido.


i've done the front end of the code, face front, also the back end of the cs file, however this error keeps on cuming?

Can anyone help please!!!!!



"""heres the error msg below""""



Compiler Error Message: CS0260: Missing partial modifier on declaration of type 'ASPNetDB.WebForm1'; another partial declaration of this type exists

Source Error:



Line 13: /// Summary description for WebForm1.
Line 14: /// </summary>
Line 15: public class WebForm1 : System.Web.UI.Page
Line 16: {
Line 17: private const string MDBFILE = "ASPNetDB.mdb";


Source File: c:\Users\Master2\Users\newupload.aspx.cs Line: 15


"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""

please
Reply With Quote
  #2  
Old 05-07-09, 04:11 AM
updateAk47 updateAk47 is offline
New Member
 
Join Date: Oct 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
If I got u right u wanted to save ur uploaded file in Ms access database?

- setup the connection string in web.config
- trim the uploaded file (i.e remove the path)
- convert it to binary code
- use insert to add it to a particular table
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ms Access amjad_system Database 3 05-25-07 09:13 PM
PHP Error Fairnie PHP 8 06-26-04 08:15 AM
Posting contents of MS Access databse to Windows Desktop sandeep_mankoo JavaScript 1 04-19-04 06:13 AM
Declared Functions skipper23 PHP 4 12-17-03 11:06 AM
index page not showing up skipper23 PHP 3 12-15-03 02:10 PM


All times are GMT -5. The time now is 10:29 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2 (Unregistered)