Category - GridView
Results 21 - 40 of 518
11 Dec 2019 11 Dec 2019 1 Comments  47279 Views
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) new row to GridView programmatically in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the values from the TextBoxes will be added to the DataTable in ViewState, which will be later used to populate the GridView in ASP.Net using C# and VB.Net.
02 Dec 2019 02 Dec 2019 0 Comments  12150 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Group By Clause in LINQ with Entity Framework using C# and VB.Net.

This article will illustrate how to use Group By Clause in LINQ with Entity Framework and then later use it to populate GridView control in ASP.Net with C# and VB.Net.
26 Nov 2019 26 Nov 2019 0 Comments  9340 Views
Here Mudassar Ahmed Khan has explained with an example, how to multiply two GridView columns and display result in third column using JavaScript and jQuery in ASP.Net.

This example will illustrate by multiplying Price column with Quantity column and displaying the result in Total column using JavaScript and jQuery in ASP.Net.
13 Nov 2019 13 Nov 2019 0 Comments  12704 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate TextBox inside GridView using jQuery on Button Click in ASP.Net.

When the Submit Button is clicked, using a jQuery each loop, all the TextBoxes inside the GridView will be validated and respective Error messages will be displayed using jQuery in ASP.Net.
11 Nov 2019 11 Nov 2019 0 Comments  14239 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate TextBox inside GridView using JavaScript on Button Click in ASP.Net.

When the Submit Button is clicked, using a FOR loop, all the TextBoxes inside the GridView will be validated and respective Error messages will be displayed using JavaScript in ASP.Net.
23 Oct 2019 23 Oct 2019 0 Comments  11951 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox in GridView based on condition in ASP.Net using C# and VB.Net.

Inside the OnRowDataBound event handler, the TextBox will be referenced and disabled based on some condition in ASP.Net using C# and VB.Net.
17 Oct 2019 17 Oct 2019 0 Comments  11226 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide GridView column at runtime in ASP.Net using C# and VB.Net.

The GridView column will be hidden at runtime when CheckBox is unchecked in ASP.Net using C# and VB.Net.
17 Oct 2019 17 Oct 2019 0 Comments  26272 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide GridView column programmatically in ASP.Net using C# and VB.Net.

The GridView column will be programmatically hidden when CheckBox is unchecked in ASP.Net using C# and VB.Net.
10 Oct 2019 10 Oct 2019 0 Comments  13643 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement jQuery AutoComplete TextBox inside GridView in ASP.Net using C# and VB.Net.

The jQuery AutoComplete Plugin is applied to all the TextBoxes and the data for the jQuery AutoComplete TextBox will be populated from the SQL Server database in ASP.Net using C# and VB.Net.
07 Oct 2019 07 Oct 2019 0 Comments  14046 Views
Here Mudassar Ahmed Khan has explained with an example, how to display AJAX ModalPopupExtender Modal Popup inside RowCommand event of GridView in ASP.Net using C# and VB.Net.

Inside the GridView OnRowCommand event handler, the GridView Selected Row details will be fetched and displayed in the ASP.Net AJAX ModalPopupExtender Modal Popup.
04 Oct 2019 04 Oct 2019 0 Comments  24153 Views
Here Mudassar Ahmed Khan has explained with an example, how to check for duplicate values while inserting in GridView without SQL in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the values of TextBoxes will be compared with the Row values of the GridView using ASP.Net CustomValidator and JavaScript and if the values are duplicate, error messages will be displayed.
17 Sep 2019 17 Sep 2019 1 Comments  10562 Views
Here Mudassar Ahmed Khan has explained with an example, how to send (pass) GridView Row Values to other Page using Session in ASP.Net using C# and VB.Net.

When the Send Button is clicked, the GridView Row values are saved in Session object and the values are sent (passed) to other Page in ASP.Net using C# and VB.Net.
04 Jul 2019 04 Jul 2019 0 Comments  31842 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox in GridView is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, a loop will be executed over GridView Rows and then it will be determined whether the CheckBox inside the GridView Row is checked or not in ASP.Net.
24 Jun 2019 24 Jun 2019 0 Comments  14317 Views
Here Mudassar Ahmed Khan has explained with an example, how to get list of Sheet (WorkSheet) names of Excel file in ASP.Net using C# and VB.Net.

The Excel file will be first uploaded and copied to a Folder (Directory) on Server and then it will be read and opened using OLEDB and the Sheet (WorkSheet) Names of the Excel file will be fetched.
17 Jun 2019 17 Jun 2019 0 Comments  13307 Views
Here Mudassar Ahmed Khan has explained with an example, how to encode QueryString parameter in NavigateUrl of HyperLink inside ASP.Net GridView using C# and VB.Net.

The QueryString parameters will be encoded inside the Eval function using UrlEncode function of the HttpUtility class in ASP.Net.
14 Jun 2019 14 Jun 2019 0 Comments  21111 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Image based on condition in GridView in ASP.Net using C# and VB.Net.

The ImageUrl property of the Image control is set with an Inline Expression which compares the value of the column and based on the value, the respective Image URL is returned which is used to conditionally display the Image in GridView.
13 Jun 2019 13 Jun 2019 0 Comments  19544 Views
Here Mudassar Ahmed Khan has explained with an example, how to get BoundField and TemplateField column values on Button Click in ASP.Net GridView using C# and VB.Net.

When the Button is clicked, the Selected GridView Row is referenced and then the values of the BoundField and TemplateField columns are extracted from it in ASP.Net using C# and VB.Net.
12 Jun 2019 12 Jun 2019 0 Comments  39980 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Selected Value from DropDownList in GridView in ASP.Net using C# and VB.Net.

The DropDownList inside GridView will be assigned with an OnSelectedIndexChanged event handler and when an Item is selected in the DropDownList, the Selected Value is displayed using JavaScript Alert Message Box.
12 Jun 2019 12 Jun 2019 0 Comments  29584 Views
Here Mudassar Ahmed Khan has explained with an example, how to handle SelectedIndexChanged event for DropDownList inside GridView in ASP.Net using C# and VB.Net.

The DropDownList inside GridView will be assigned an OnSelectedIndexChanged event and when an Item is selected (changed), the SelectedIndexChanged event handler is raised.
12 Jun 2019 12 Jun 2019 0 Comments  15335 Views
Here Mudassar Ahmed Khan has explained with an example, how to use EVAL function to set Selected Value of DropDownList inside GridView in ASP.Net using C# and VB.Net.
Results 21 - 40 of 518