Link to home
Start Free TrialLog in
Avatar of dontnetsanjay
dontnetsanjay

asked on

asp.net c# image upload on server

Hello,I am uing ASp.net with C# ver 2 visual studio 2005 i have a project in which i have to uplaod Images and PDF files save them on SERVER and not dtabase in database only file name will be saved. saved files can be renamed. or resized. user later candelete thru web pages. please tell me which control to add on my aspx for  uploading images and pdf how 2 display them. thank you in advance I am in need for this any help is highly appreciated.

Thanks a ton Sanjay
ASKER CERTIFIED SOLUTION
Avatar of sabeesh
sabeesh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dontnetsanjay
dontnetsanjay

ASKER



hello again
thanks for sending complete code this is already a great help which cannot be ignored
but i am not able to get the thing clearly
my job is to develop a a module sothat client can enter his product info and upload image or pdf file as cataloge here in this quey i will remian with image upload and pdf i will start another question(chain)
==>
pRItemId is a variable to asign prefix to the filename?

dtahelper namespace could not be found??
in help search also i did not got any result?

and I am new to all this therefore its not easy for me

Sanjay,
           This is just a sample code only don't blindly copy this code, change as per your requirement. Here dtHelper is a custom class that you cannot find any where , that is used in our project. u can write your own code here.

okay dthelper is basically our code for database connection string??
okay now I am getting thiscode thanks anyway u helped me in this i am editing this code accordingly

 its 12.35 am working on this and post back in few min..
thanks a lot my code is working

now
io had created a new subfolder in work folder there i have saved it
i guess i had to use '\' instead of this '/' which took little extra time

thanks once again