Hi,

I want to know how to store and retrieve picture path from sql server. Can anyone show me the code please.

store picture path ?

i think you mean store whole picture.

you may see the picture as binary object(blob field), and don't forgot to save filename+extension of file too

Sure we can show you the code but before that we want to see what you have tried ?
e.pol : He is trying to save the path of filename not want to use blob field to save and retrive data.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.