Category Archives: Asp, Asp.net

How to Connect MySQL Database in Asp.Net using C#

How to Connect MySQL Database in Asp.Net using C# In this post we will discuss How to Connect MySQL Database in Asp.Net using C#, or you can say how to establish connection with MySQL server and display data in GridView control. To connect with MySQL you have to use MySQL connector for .net from here. Install

Page Redirect After Clicking OK on Message Box In Asp.Net

Page Redirect After Clicking OK on Message Box In Asp.Net Hi Friends, in this post we discuss about Page Redirect After Clicking OK on Message Box In Asp.Net. This tutorial will help us in any project on which we want to implement that when user click on any button, before redirect a confirmation message will be

Get Selected Row Data in GridView on Button Click in ASP.Net

Get Selected Row Data in GridView on Button Click in ASP.Net In this we explained how to Get Selected Row Data in GridView on Button Click in ASP.Net. On Select button click we fetch data of that particular row and display it on a Label control. In Earlier post we have learnt How to Store and Retrieve

How to Store and Retrieve Images from SQL Server Database using Asp.Net

How to Store and Retrieve Images from SQL Server Database using Asp.Net In this tutorial we will discuss How to Store and Retrieve Images from SQL Server Database using Asp.Net. In this approach first of all we will upload file through FileUpload Control and save the image name in SQL Server Database. Then we will display

How to Create a directory using ASP.NET and C#

How to Create a directory using ASP.NET and C# In this tutorial we will learn How to Create a directory using ASP.NET and C#. To create a directory on the disk, first we will need to import the System.IO namespace. The System.IO namespace contains the CreateDirectory() method that we will use to create our directory. In previous

How To Print GridView in Asp.Net

How To Print GridView in Asp.Net In this post we will learn How To Print GridView in Asp.Net. This feature come to handy for reporting purpose. Earlier we had discussed CRUD Operations Using Entity Framework in ASP.NET MVC. Here we are using JavaScript to accomplish this. We have used AdvetureWorks Database to fill GridView. Design:  <%@ Page

CRUD Operations Using Entity Framework in ASP.NET MVC

CRUD Operations Using Entity Framework in ASP.NET MVC In this post we will learn about CRUD Operations Using Entity Framework in ASP.NET MVC. In earlier post we have discussed about How To Create New Asp.Net MVC 5 Site From Empty Template and How to display student information in MVC. CRUD relates to(Select, Insert, Update and Delete) operations using ADO.NET