Gcobani Mkontwana

Gcobani Mkontwana

  • 565
  • 1.9k
  • 405.8k

How to access data from your db using table in bootstrap asp.net mvc?

Sep 14 2020 2:32 AM
Hi Team
 
I want to access data, i have created table with header, but i want to filter that table with data from db. How do i do this in asp.net mvc using bootstrap. Here is my logic and need some help, below are the headers from my db, but i want to filter it with data from my db.
  1. <table class="table">  
  2.           <thead>  
  3.               <tr>  
  4.                   <th scope="col">Id</th>  
  5.                   <th scope="col">Course</th>  
  6.                   <th scope="col">CourseLicence</th>  
  7.                   <th scope="col">Nickname</th>  
  8.                   <th scope="col">Term </th>  
  9.                   <th scope="col">EnrolledAs</th>  
  10.                   <th scope="col">Published</th>  
  11.               </tr>  
  12.           </thead>  
  13.       </table>  
 

Answers (5)