Click here to Skip to main content
15,910,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have saved distinct URLs per each customer in a database. In a controller I am reading the current logged in user (
User.Identity.Name
) but I am having problem to read the respective URL from database and displaying that in a view.
****I ALREADY HAVE A USER TO URL MAPPING IN DATABASE.
PLEASE HELP. --new to mvc

What I have tried:

I am having problem to read the respective URL from database and displaying that in a view.
****I ALREADY HAVE A USER TO URL MAPPING IN DATABASE.
PLEASE HELP.  --new to mvc
Posted
Updated 24-Jun-19 1:59am
Comments
ZurdoDev 17-Jun-19 17:34pm    
How can we help?
ZurdoDev 17-Jun-19 17:34pm    
How can we help?
F-ES Sitecore 18-Jun-19 3:59am    
You want us to help you get information from an unknown database with an unknown schema using an unknown data access technology? How can anyone possibly answer that question? If you are using something like entity framework then just google for "getting started" articles, or google for the "MVC music store" which is a tutorial that takes you through all the steps to get a basic site running.

1 solution

Show us the db schema and we can go from there
 
Share this answer
 

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