[RESOLVED]How to create a Controller for a Partial View and pass data as ViewBag data from controller to Partial View

I have a controller as /Home/Index

I have a Partial View in /Home/Index

I need to show some Database Records count in Partial View.

This is the site I am working on: http://overseasindians.com.au/

public ActionResult Index()

{

return PartialView("Index");

}

athelli_reddy

I have a controller as /Home/Index

I have a Partial View in /Home/Index

I need to show some Database Records count in Partial View.

return the Model with 

athelli_reddy

some Database Records count

For more details please see www.asp.net/mvc tutorials

Leave a Reply