Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

My requirement is in my MVC razor page having one search box and button.

I need the records from the db according to the search result using jquery ajax post method.
How could I create an ER diagram from an sqlstoredprocedure and How it use in Model
as I am not good enough knowledge in ER diagram.The sqlstored procedure return the value from different tables with a where condition like(if groupid=1{select * from table1)else
{select * from table2}).This result should pass in to the view using ajax onsuccess call

The above result how could I shows in a gridview with an edit function and paging(I am confused that which gridview is sutiable for MVC)

Please help me

Thanks & Regards,
soumyaraj
Posted
Comments
Jameel VM 24-Jun-13 3:30am    
in mvc no gridview..actually what is your exact requirement ? Er diagram or how to search and display details using jquery-ajax and MVC?
Antariksh Verma 7-Oct-13 1:51am    
You can use Jqgrid to populate search data
http://mvcjqgrid.skaele.it/

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