473,385 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

webaplication + picture upload ?

i am preparing my graduation project, it is website and i need to hep
about uploading a picture from client side and insert MSSQL server database.
if you can send me example code i would be glad.
Nov 15 '05 #1
2 2249
you will need to use the System.Web.UI.HtmlControls.InputFile class in order
to acuirer the uploaded file.
You then use the PostedFile property of the object.

I recommend saving the file to a directory and just storing the images
virtual path in SQL.

"Cantekin Guneser" <ca*************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP10.phx.gbl...
i am preparing my graduation project, it is website and i need to hep
about uploading a picture from client side and insert MSSQL server database. if you can send me example code i would be glad.

Nov 15 '05 #2
you will need to use the System.Web.UI.HtmlControls.InputFile class in order
to acuirer the uploaded file.
You then use the PostedFile property of the object.

I recommend saving the file to a directory and just storing the images
virtual path in SQL.

"Cantekin Guneser" <ca*************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP10.phx.gbl...
i am preparing my graduation project, it is website and i need to hep
about uploading a picture from client side and insert MSSQL server database. if you can send me example code i would be glad.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cantekin Guneser | last post by:
i am preparing my graduation project, it is website and i need to hep about uploading a picture from client side and insert MSSQL server database. if you can send me example code i would be glad.
3
by: Jim S. | last post by:
ok, am trying to do a picture preview before i upload a picture, but i have a tiny problem , it used to work but, not anymore. here is the partial code (u do not need more to find the problem):...
1
by: samcode3 | last post by:
Hi, I want to upload pictures in mysql database using blob. I have code to check the extension and sizes. But to store in mysql i have to upload the picture on server first. But if i upload the...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
5
by: jason.tadeo | last post by:
I was wondering if anyone does any uploading picture scripts or how to do it where i could upload a picture and use php to change the picture size to what i want it to be. Anyone know where i could...
44
by: badvoc | last post by:
Hi to all, Firstly I must state my knowledge of php is limited but I am a quick learner. I have taken on the task of finishing a friends website due to his untimely passing and have hit a problem...
3
by: thesti | last post by:
hi, i dunno why, but i have tested my upload script with IE 6. but the file wasn't uploaded. it works fine with Opera and FF. i use php 5.1.2 here is my upload script //get the...
7
by: dragiton | last post by:
SA Upload SQL Database variable types (image upload and storage) I am having trouble with the SA Upload utility. The following code used to work correctly. However, I lost my database and had to...
0
by: simon2x1 | last post by:
i have an upload page called upload.php and a display upload called display.php while i make use of my wamp server on my localhost and i access upload.php to upload an image the image go to a folder...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.