I have used the code first approach to design the database as follows:
Then create the database context class in the model:
After creating the context class create a HomeController and inside that create action Index(). Then right click on the Index() action and create a view Index.
Then create WebGrid in the view Index as follows and set the ajaxUpdateContainerId property of WebGrid with the id of the division containing the web grid.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers