How to Bind Inserted images and Slide show MVC3 Only

Posted by Jayakumars under ASP.NET MVC on 3/19/2014 | Points: 10 | Views : 1451 | Status : [Member] [MVP] | Replies : 0
My Table this
==================
EmpId int
Image Blob

I had designed one table for employee details in that each employee must have more than 10 images in byte format.How to retrieve this image and bind for each one and in that one image must be shown but other images must be shown as twitter bootstrap. This is the following link


http://blueimp.github.io/Bootstrap-Image-Gallery/
https://github.com/blueimp/Bootstrap-Image-Gallery


My Image Insert Code this
=============================

public JsonResult InsertEmpImage(int EmpId)
{

using (var binaryReader = new BinaryReader(Request.Files[0].InputStream))
{
var fileData = binaryReader.ReadBytes(Request.Files[0].ContentLength);
var EmpImage = new EmpImages() { };
EmpImage.EmpID = EmpIdId;
EmpImage.Image = fileData;
Insert(EmpImage);
}

var result = new { Success = sucess, Message = message };
return Json(result, JsonRequestBehavior.AllowGet);
}

here how to retrieve those images binding like asp.net Repeater control then shown i mention my requirement above my Description.

Mark as Answer if its helpful to you


Responses

(No response found.)

Login to post response