samedi 25 avril 2015

Create buttons for this dynamic values


I have a controller and controller returns some dynamic values.I need to create buttons for that dynamic values.

My Contoller

 public ActionResult LoginAs()
        {
            string[] roles = (string[])TempData["data"]; // this array returns 3 values.I need to create a buttons for that values.

            return View();
        }

I have no idea how to create a buttons for this dynamic values.mvc


Aucun commentaire:

Enregistrer un commentaire