I have been working for a long time a project in vb.net using a database which is in SQL Server 2000.I am currently trying to upload an image!The file i want to upload is not type image but nvarchar.I have made save it inthe database as ID of the record and the xtension of the image: ie.( 7.jpg).Now the file which is upload save it locally in my pc to the path: c:/inetpub/wwwroot/Gigo/Data.
I want the filename take the same name as the name of the image field in the database ie: I want to save it as 45.jpg
( I have been create an insert form and already have create a sp which works great)
So,I want when i Click the insert button to save it to the database and locally with th same name ie:45.jpg
Can anybody helps me????