How to check number of rows in Database table from MVC Dot Net

Create or Open a Dot Net MVC Application Go to the controller Class where you wants to create database connection using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using System.Data.SqlClient; using Microsoft.AspNetCore.Mvc; namespace test.Controllers{…

Continue ReadingHow to check number of rows in Database table from MVC Dot Net