June 15, 2005 at 11:17 am
I have a customer that has over 3000 photos and they need to be accessable inside the UI.
MY question is how is it that i can get thoses photos into the database with manually writing each record?
Is there a insert statement that i can use? Is there a such of thing of an import into the database from a path? And then organize the pics as they are inserted into the database?
I am using vb.net and sql2000
EXAMPLE: My application will use the images in a listbox with a drop down postback option:
Thanks,
Erik...
Dam again!
June 15, 2005 at 11:26 am
Simple solution :
Copy the images on a shared drive on the server.
Save the path each the said pictures in the database. Send the path along with the rest of the info you need to show on the form.
Add a picturebox on the form and load the picture using the path (make sure the users can read the files in the directory).
June 15, 2005 at 11:39 am
Thank you!
This has to be the fastest form on the net!
Dam again!
June 15, 2005 at 11:41 am
Certainly not the slowest .
June 15, 2005 at 5:33 pm
Was looking around for the Picture box and after scratching my head for a bit, i have realized that there is no picture box for the vb.net WEBFORMS, only on the Windows Applications.
Any more suggestions?
Thanks..
Dam again!
June 16, 2005 at 4:07 am
Hi is it required that images is stored in the database if so, you can use streams to read and right, such a case might be used in mixed applications (desktop & web).
this code is in C#, if you have any problem converting it call up
http://www.codeproject.com/aspnet/PicManager.asp
Hold on hold on soldier
When you add it all up
The tears and marrowbone
There's an ounce of gold
And an ounce of pride in each ledger
And the Germans killed the Jews
And the Jews killed the Arabs
And Arabs killed the hostages
And that is the news
And is it any wonder
That the monkey's confused
June 16, 2005 at 8:02 am
Don't need a picture box on a web page. All you need is :
Looks up the source code for this smiley and You'll see what I mean.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply