Hi,I want to save a picture in a database(SQLserver2005) and use it the picture in a web form by binding to a control how can I do it?

Basically you need to save the image as blob data in the database and then retrieve it and convert it to an image again, heres a article which explains the process:
http://odetocode.com/Articles/163.aspx

By binding you cant just call databind and expect magic,
however by implementing the OnItemDataBound method of the control you can then do the conversion from blob to image

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.