Blog Archives

How to Replace Null Value in Asp.Net GridView BoundField Column in C# VB.Net

If the datasource of a GridView control contains NULL value then the GridView Cell render blank text. To make the information more meaningful we need to replace the NULL value with a meaningful word or a line. GridView BoundField column

Posted in .Net, Asp.net, C#, Gridview, VB.Net

How to Replace Null Value in Asp.Net GridView Template Field or Template Column in C# VB.Net

Null means nothing or meaningless. To make it meaningful we need to replace null value by an understandable word or a line. In C# and VB.Net we do it easily. But in GridView it’s a bit different. We can replace

Posted in .Net, Asp.net, C#, Gridview, VB.Net

How to Get DataKeyNames from Asp.Net Gridview selected Row in C# VB.Net

Sometimes we need to work on Asp.Net GridView Selected Row. When you click on Select link then SelectedIndexChanged method will fire. Within this method to uniquely identify a record we need to get the assigned DataKeyNames. Which will be a

Posted in .Net, Asp.net, C#, Gridview, VB.Net

How to Send Asp.Net Gridview Content or Records or Rows or Data through Email using C# VB.Net

Asp.Net GridView Control is used for report presentation. Sometimes we need to send those reports to admin level through email. Using Asp.Net we can achieve this easily. Here in this article I will explain with example “How to Send Asp.Net

Posted in .Net, Asp.net, C#, Gridview, VB.Net

How to Get Selected Row Values From a Gridview Control in Asp.Net C# VB.Net

For implementing more business logic some times we need to capture the data of GridView Selected Row. The event named SelectedIndexChanged provides us the easiest way to get selected row data. Because when user click on the Select Button the

Posted in .Net, Asp.net, C#, Gridview, VB.Net

How to Change Asp.Net GridView Cell Row and Column color based on condition in C# VB.Net

For data representation Asp.Net GridView Control undoubtedly popular. For making reports more often we use GridView Control. For indication or to attract user on some data we need to change Data forecolor or background color. Here in this article I

Posted in .Net, Asp.net, C#, Database, Gridview, SQL Server, VB.Net

ASP.Net AJAX ModalPopupExtender Control to Create Modal Popup in C# VB.Net

By using the AJAX ModalPopup Extender we can display popup without opening a new browser window. To display deatila data or information even to capture user input we can use AJAX ModalPopup Extender which works in the same window of

Posted in .Net, Ajax, Asp.net, C#, Gridview, VB.Net

How to Bind all Images from a Folder to Gridview using Asp.Net C# VB.Net

Sometimes we need to Bind all Images from a Folder to a GridView. Here in this article I will explain how we can achieve it. But I will show the example in a way so that developers can meet the

Posted in .Net, Asp.net, C#, Gridview, VB.Net

GridView Add Edit Delete using AJAX in Asp.Net C# VB.Net

GridView is one of the most popular Asp.Net Control to take user inputs in a tabular format. You can Add records, Delete Records as well as Update Records in a GridView easily. In this article I will explain “How you

Posted in .Net, Ajax, Asp.net, C#, Client, Database, Gridview, Javascript, SQL Server, VB.Net

How to Bind SQL Server Parameterized Stored Procedure (SP) Data into Asp.Net GridView Control in C# VB.Net

To represent data in a tabular view more often we use Asp.Net GridView Control. The GridView Control is such a flexible control where we can bind data in lots of ways. Binding SQL Server Stored Procedure Data into the GridView

Posted in .Net, Asp.net, C#, Gridview, VB.Net