Click here to Skip to main content
16,022,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
by using existing database tables i have two create two partail view those display in to index view but in the index view of first partial view both the feild names are same on both the partial voews except one last coloumn have submit buttom second one dont have the submit button.
display the data and click the submit button of first partailview of index.cshtml refresh the page and display those data in to the second partail view of index.cshtml


please help me how can i create two partail views those two partial views connect to index.cshtml i am new this feild.
Posted
Updated 7-Apr-16 22:41pm
v2

1 solution

Hello friend


Don't be frustrate , First of all for connecting database and related operation


you have option to use below library

(1) ADO.NET library
below example might useful to you .
Insertion in MVC using Ado.net | MVC Tutorials[Insert]

Use this standard documentation for learning purpose
ADO.NET[ADO.NET Doc]
(2) Entity Framework
Here i attached link of my code for CRUD operation with Entity Framework
Choose MVC practice option after clicking Here


for entity framework you have three option choose one of them approach
i.e..
(1) Database first
(2) Code first
(3) Model first

Please provide your code for partial view issue
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900