i'm inserted a image in sql server2008 as varchar(max).How to retrive in Data Grid view photo column ..i need code ...i tried many ways still getting Confused.

Recommended Answers

All 3 Replies

Well, I think you used the wrong datatype for a start...You should have used varbinary

You'll need to post your own code before we can help you.

i can retrive via linq but i need ado.net manner

For an update,

You can use image datatype. Hope it will be precise for the operation...

And also post the relevant codes as Ketsuekiame said.

It will save a considerable amount of time.

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.