Hi,
I am using to bind the image into radgridview using sql server 2008. here i am giving the class name is ImagesInfo.cs. When I run the application i am getting some errors showing on the screen. and here i attached the screen shot errors
public List<ImagesInfo>GetImagesListView(DataSet ds)
{
List<ImagesInfo> GetImagesList = new List<ImagesInfo>();
//byte[] a = new byte[1];
foreach (DataRow dr in ds.Tables[0].Rows)
{
ImagesInfo Objimage = new ImagesInfo();
//Objimage.Photo = Convert.ToSByte(dr["Photo"]);
Objimage.Photo = dr["Photo"].ToString();
GetImagesList.Add(Objimage);
}
return GetImagesList;
}
i think the issue is simple but i am not able to find the solution, please see my problem.
Thanks With Best Regards
Patro