PDA

View Full Version : upload component


sath
05-23-2003, 08:32 AM
i designed one site 9it has one interface for adding texfields and one image.it accepts only the image add if i do not add without image(without upload component) i have some situation i only add text field details only to database. how do it

and another one is i stored image in sql server database.

it has any prob in future

Terry
05-26-2003, 02:09 AM
Originally posted by sath
i designed one site 9it has one interface for adding texfields and one image.it accepts only the image add if i do not add without image(without upload component) i have some situation i only add text field details only to database. how do it

and another one is i stored image in sql server database.

it has any prob in future

On the first question are you saying if you fill out the text fields and submit an image only the image is accepted? And if you do not submit an image only the text fields are accepted?

On the second question - if you are adding a great deal of images then it could really increase the size of your database quickly, possibly affecting performance. I prefer not to insert images into a database. I just insert the url instead. Everyone has their preference though.

sath
05-26-2003, 11:37 PM
thanks terry for u r rply ,

if i don't put image it shoud not add any values (textfield vlaues).it adds only if i put the image otherwise nothig happen in this database.i want to add text field values without image(in some situations)