|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problems with file management
i'm using vb.net, asp.net and sql server 7.
i need to know the codes for uploading word documents and image into the database. after which i can retrieve it from the database and put it into a datagrid and allows other users to download or view the files. pls help! thks! |
|
#2
|
|||
|
|||
|
I wonder why you want to store .doc files and img files in your db. You can store those files on your servers HD and store link/filenames in the DB.
Something like: Word_File | Image_File abc.doc | abc.gif and then from asp you can display using DataContainer Class: Code:
<a href='yourpath/<%# DataBinder.Eval(Container.DataItem, "rname") %><%# DataBinder.Eval(Container.DataItem, "rname") %></a> and same for the image. Hope this explains. |
|
#3
|
|||
|
|||
|
i have no choice. this was the task given to me
anyway, thanks! hope someone can still help me |
|
#4
|
|||
|
|||
|
There you go: http://www.codeproject.com/aspnet/fileupload.asp
This shows you how to upload .gif - You can use same tool for uploading .doc Goodluck.... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > Problems with file management |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|