|
trying to create an upload function that writes to MS access database
|
|
03-09-2010, 07:30 PM
Post: #1
|
|||
|
|||
|
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 help |
|||
|
03-09-2010, 07:34 PM
Post: #2
|
|||
|
|||
|
RE: trying to create an upload function that writes to MS access database
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 |
|||
|
« Next Oldest | Next Newest »
|




