Tuesday, October 5, 2010

Export the datagrid Image to excel

Use the full path

some thing like this.. just use the padding too here for reference :)

Return (HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) & HttpContext.Current.Request.ApplicationPath & "/thumbs/" & strArgument.PadLeft(7, Convert.ToChar("0")) & "_80.jpeg")

No comments: