(Type your message here)
I am using asp.net. I am not storing image in sql server.I store all
the image in one folder. I want to access image from that folder to my
client machine. Images folder (\Data_Image) store in the same place
into the application root (server machine) like
c:\inetpub\wwwroot\mywebapp\Data_Image. I am using repeter control for
show images. I already use server.Mappath but still when I run my
application in client machine it still look for the image on client
machine itself. Is am I doing wrong....
My code as followes:
Dim dt As New DataTable("Orchid")
Dim FullPath As String
Dim col As DataColumn
Dim Rowimg As DataRow
col = New DataColumn("image", GetType(String))
dt.Columns.Add(col)
FullPath = Server.MapPath(".") & "\data_Image\" & Rose.GIF
Rowimg = dt.NewRow
Rowimg.Item("image") = FullPath
dt.Rows.Add(Rowimg)
RepImg.DataSource = dt
RepImg.DataBind()
can anybody solve my problem.
--------------------------------
From: Manish Songar
m_******@yahoo.com
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>8a/SkuT00U+SOc2vhgsosg==</Id>