1
Answer

How to bind menu,sub menu from database in mvc 5

suman goud

suman goud

8y
517
1
i have three tables in database ,
products-parent
Modules-child
SubModules-subchild
am able to show list of products in my form using mvc
on product list item click i want to show modules related to that product based on id,
same as for sub module i want to show sub module related to that Modules
can you give an example ow to do this
Answers (1)
0
Ravi Puri

Ravi Puri

NA 10 0 19y
Hi, check the following:

the calling code is being executed in the context of 'AL-NOTEPAD\ASPNET'. this should already be the case if have enabled anonymous access to your site. 

the connection string you're using for the database is set to Integrated Security=SSPI; i.e. use a trusted connection (windows login)  connection instead of a SQL Server login.

thanks,

Ravi