hi
i want to display image which is stored in some folder and its path is stored in dabase table. i used your link http://www.aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx for the same but i am not storing any thing like data column in my table and have passed name column to Byte[]and so its giving datatype error there. what is the way to convert it to byte or any other solution?
Refer here
http://www.aspsnippets.com/Articles/Display-Images-in-GridView-Control-using-the-path-stored-in-SQL-Server-database.aspx
hey thank you so much it worked but next modification that i want to do is i want image to be displayed on the co ordinates that i will be saving the database.i have saved them in one of the columns in table. so how that can be done?
You will need to set the style part of the image
style = "position:absolute;left:13px;top:45px"
13 and 45 are the coordinates
but i want to get them from database and not set in .aspx page because it is different for each image
How are you displaying images?
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.