472,124 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,124 software developers and data experts.

Uploading images files to server and resize the image

joe
Any articles relating with
Uploading images files to server and resize the image by asp.net 2.0
Jul 21 '06 #1
1 2050
You want to upload image files to server in specified path or you want to
upload to SQL Server using DataType Name Image?

Anyway i am giving example to upload images to server.

File1.PostedFile.SaveAs(Server.MapPath(".") & "\Images\abc.jpeg")

File1 is the File HTML Control.
<input class="lbl" id="File1" type="file" runat="server">

We can resize the Image size using Drawing class and FileStream Class.

regards,
-Murali

"joe" wrote:
Any articles relating with
Uploading images files to server and resize the image by asp.net 2.0
Jul 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ricardo Sanchez | last post: by
4 posts views Thread by Dom Hicklin | last post: by
5 posts views Thread by Grant Harmeyer | last post: by
2 posts views Thread by IkBenHet | last post: by
44 posts views Thread by badvoc | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.