1
Reply

How to disply image in datagrid from database?

Ravi Kumar

Ravi Kumar

Nov 16, 2006
4.8k
0

    you can store the image name (file name) in the database instead of storing the image itself (best practice), when you load the data into the datagrid, you can use the item_databound event to change the image name to the image it self, try something like this:

    e.item.cells(3).text = replace(e.item.cell(3).text,""

    November 21, 2006
    0