Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 26, 2012 03:48 AM by chetan.sarode
Member
67 Points
321 Posts
Jun 25, 2012 11:13 AM|LINK
byte[] imageBytes = Convert.FromBase64String(Path); MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length); ms.Write(imageBytes, 0, imageBytes.Length); System.Drawing.Image Img_db = System.Drawing.Image.FromStream(ms, true); path is url in string format from sql db how to assign Img_db to asp.net image control to show the image????? can u please tel for this friend
Participant
1596 Points
378 Posts
Jun 25, 2012 11:19 AM|LINK
Follow the link:
http://www.codeproject.com/Articles/33310/C-Save-and-Load-Image-from-Database
http://www.aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx
All-Star
65839 Points
11163 Posts
Jun 26, 2012 03:48 AM|LINK
Refer this
http://forums.asp.net/t/1817877.aspx/1?how+to+get+image+from+physical+path+that+path+has+been+stored+in+sql+db+
girikas
Member
67 Points
321 Posts
how to assign Img_db to asp.net image control to show the image?????
Jun 25, 2012 11:13 AM|LINK
byte[] imageBytes = Convert.FromBase64String(Path);
MemoryStream ms = new MemoryStream(imageBytes, 0,
imageBytes.Length);
ms.Write(imageBytes, 0, imageBytes.Length);
System.Drawing.Image Img_db = System.Drawing.Image.FromStream(ms, true);
path is url in string format from sql db
how to assign Img_db to asp.net image control to show the image?????
can u please tel for this friend
mishra.bhupe...
Participant
1596 Points
378 Posts
Re: how to assign Img_db to asp.net image control to show the image?????
Jun 25, 2012 11:19 AM|LINK
Follow the link:
http://www.codeproject.com/Articles/33310/C-Save-and-Load-Image-from-Database
http://www.aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: how to assign Img_db to asp.net image control to show the image?????
Jun 26, 2012 03:48 AM|LINK
Refer this
http://forums.asp.net/t/1817877.aspx/1?how+to+get+image+from+physical+path+that+path+has+been+stored+in+sql+db+
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.