Posts

Showing posts from 2019

How to display data on a page using the GridView method of ASP.NET

Image
Introduction This blog post will explain how to display data from a database using GridView. I used the Northwind database, which you can download from this link. https://github.com/microsoft/sql-server-samples/tree/master/samples/databases Before you begin To run this sample, you need a tool that can run Transact-SQL scripts. You can run the scripts in the following tools: SQL Server Management Studio (SSMS) . To download SSMS, go to  Download SQL Server Management Studio (SSMS). QL Server Data Tools (SSDT)  or Visual Studio. To download SSDT, or to enable its features in Visual Studio, go to  Download and install SQL Server Data Tools (SSDT) for Visual Studio . Run the scripts in SSMS Open SSMS. Connect to the target SQL Server. Open the script in a new query window. Run the script. Run the scripts in SSDT or Visual Studio Open SSDT or Visual Studio. Open the SQL Server Object Explorer. Connect to the target SQL Server. Open the script in a new query window. Run the scr...

ASP.NET MVC 5 With React.NET And ClearScript V8 Engine

Image
In this article we are going to create an Asp.Net MVC 5 application with React.Net lib and V8 engine to render the react component on server side rendering approach, so let’s get started.   Here I’m not going to give much explanation about react.js as there are plenty of articles are available on internet, you can go through those articles.   Below are the libraries we are going to use in this article, react.js ReactJS.NET (MVC 4 and 5) ReactJS.NET – ClearScript V8 Step 1   Create a new Empty ASP.NET MVC Project.       Step 2   Create one Controller in Controller folder named HomeController and click on Add as this will create a controller.       Step 3   Go to Index method and create one view called Index, this will create a master page and some required JavaScript files along with views.       Step 4   Right click on Project and go to Nuget Package Manager and search for ReactJs.Net and install the React.Web.MV...