Posted on: 3/13/2015 6:34:24 PM | Views : 553

Please help. I converted an image display from vb which was working fine to c#... I am only getting an error for "ROWS" ...can anyone tell me what I am doing wrong??
Byte[] bytes = (Byte[])dt.Rows(0)("ImageData"); Response.Buffer = true; Response.Charset = ""; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ContentType = dt.Rows(0)("MIMEType").ToString(); Response.AddHeader("content-disposition", "attachment;filename=" + dt.Rows(0)("ImageTitle").ToString()); Response.BinaryWrite(bytes); Response.Flush(); Response.End();

Go to the complete details ...