locked
Open page to specific records RRS feed

  • Question

  • User-713783997 posted

    Hello,

    I am a newbie to ASP.NET MVC (which will become painfully evident in just a moment)  Long story short, I created an ASP.NET MVC project following closely to a YouTube tutorial, and generally speaking, it works great.  The structure was generated automatically and I can add/edit/delete records from a table (in SQL Server).  Now my question is this:  What if I don't want to have the view open up to all the records?  Let's say I'm a veterinarian and I have an AnimalID field in my table and I only want the page to open and display ID 1 (Dogs)  Maybe I'm not Googling the correct wording I need here (not due to lack of trying)

    I would have thought this would be a fairly common question, but then again, I may be totally off base.  I am familiar with sql Views and sql sp's so maybe therein lies the answer(?)  I hope this is enough info to address my question... I didn't want to get too wordy

    I'd truly covet any assistance

    thank you!

    Wednesday, March 3, 2021 3:45 PM

All replies