Category - GridView
Results 81 - 100 of 518
16 Jul 2018 16 Jul 2018 0 Comments  36217 Views
Here Mudassar Ahmed Khan has explained with an example, how to save (insert) GridView Rows (Data) to Database in ASP.Net using C# and VB.Net.

First the row (data) will be saved (inserted) to database and then the GridView will be populated with the data in ASP.Net using C# and VB.Net.
13 Jul 2018 13 Jul 2018 0 Comments  21183 Views
Here Mudassar Ahmed Khan has explained with an example, how to upload and insert MP3 Audio files in SQL Server Database and then play the MP3 Audio files using HTML5 Audio Player in ASP.Net using C# and VB.Net.

The MP3 Audio files are displayed in GridView and there’s also a Download button to download the MP3 Audio files.
13 Jul 2018 13 Jul 2018 0 Comments  12641 Views
Here Mudassar Ahmed Khan has explained with an example, how to make GridView TextBox ReadOnly (Disabled) in ASP.Net when Editing using C# and VB.Net.

The TextBox in ASP.Net GridView will be made ReadOnly or Disabled during the Edit Mode of GridView inside the Row being currently edited using C# and VB.Net.
11 Jul 2018 13 Jul 2018 0 Comments  12649 Views
Here Mudassar Ahmed Khan has explained with an example, how to make a Column (Cell) non-editable (ReadOnly) in ASP.Net GridView when Editing using C# and VB.Net.
27 Jun 2018 17 May 2020 1 Comments  20515 Views
Here Mudassar Ahmed Khan has explained with an example, how to highlight GridView Row based on some condition in ASP.Net using C# and VB.Net.

A loop will be executed and values of each GridView Row will be checked, then based on some condition the GridView Row will be highlighted by changing its Background color.
26 Jun 2018 26 Jun 2018 0 Comments  19101 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform CRUD operation using SqlDataSource in ASP.Net using C# and VB.Net.

CRUD operation means performing Select, Insert, Edit, Update and Delete using SqlDataSource in ASP.Net using C# and VB.Net.
25 Jun 2018 27 Jun 2018 0 Comments  13249 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Progress Bar in GridView using jQuery in ASP.Net with C# and VB.Net.

The Progress Bar will be displayed when PostBack will be performed by GridView i.e. during Paging, Sorting, Insert, Edit, Update and Delete operations.
22 Jun 2018 19 Aug 2022 0 Comments  12897 Views
Here Mudassar Khan has explained with an example, how to implement Client Side AJAX based Paging using jQuery in ASP.Net GridView with C# and VB.Net.

In Client Side Paging, the GridView will not be populated from Server Side instead, a jQuery function will make an AJAX call to the server and fetch the records from database based on Page Index using SQL Server Custom Paging.

Later using jQuery, the fetched records will be used to populate the GridView on Client Side.
22 Jun 2018 19 Aug 2022 0 Comments  8112 Views
Here Mudassar Khan has explained with an example, how to perform custom Paging in GridView using jQuery AJAX in ASP.Net with C# and VB.Net.

Custom Paging will be performed within Database using SQL Server Row_Number function and only the records for the requested Page will be sent to the jQuery function using AJAX.

Later using jQuery, the fetched records will be used to populate the GridView on Client Side.
15 Jun 2018 15 Jun 2018 0 Comments  13203 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind and display data in GridView in ASP.Net MVC Razor.

In MVC, GridView has been replaced with WebGrid. WebGrid control is used to display data from database in Tabular format in ASP.Net MVC Razor.
14 Jun 2018 14 Jun 2018 2 Comments  138270 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with example, how to perform CRUD operations i.e. Select, Insert, Edit, Update and Delete in ASP.Net Web Forms using C# and VB.Net.
14 Jun 2018 14 Jun 2018 0 Comments  58537 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform CRUD operations i.e. Select, Insert, Edit, Update and Delete using ADO.Net in ASP.Net with C# and VB.Net.
01 Jun 2018 01 Jun 2018 0 Comments  35792 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and import Excel file directly from Stream without saving in Folder (Directory) on Server’s Disk in ASP.Net using C# and VB.Net.

When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control.

Using ClosedXml, the Excel file data can be easily read from the InputStream property.
01 Jun 2018 01 Jun 2018 1 Comments  31961 Views
Here Mudassar Ahmed Khan has explained with an example, how to read and import Excel file using FileUpload control without saving in Folder (Directory) on Server’s Disk in ASP.Net using C# and VB.Net.
28 May 2018 13 Jun 2018 2 Comments  54172 Views
Here Mudassar Ahmed Khan has explained a simple step by step tutorial with an example, how to perform CRUD operation in GridView i.e. Insert Edit Update and Delete in ASP.Net GridView using C# and VB.Net.
28 May 2018 13 Jun 2018 1 Comments  21467 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Insert Edit Update and Delete in GridView without using DataSource controls in ASP.Net with C# and VB.Net.

Without DataSource controls means, not using the ASP.Net DataSource controls such as SqlDataSource, ObjectDataSource, XmlDataSource, etc. for performing Insert Edit Update and Delete in GridView control.
22 May 2018 22 May 2018 0 Comments  25504 Views
Here Mudassar Ahmed Khan has explained with an example, how to render GridView with THead, TBody and TFoot tags in ASP.Net using C# and VB.Net.

By default, GridView renders as HTML Table without the THead, TBody and TFoot tags.
16 May 2018 16 May 2018 0 Comments  21102 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) GridView using Session data in ASP.Net using C# and VB.Net.

The concept is to create a dynamic DataTable, save it to Session and bind it to GridView.

Later whenever a new row is added, the DataTable is fetched from Session, it is updated and then again used to bind the GridView.
14 May 2018 14 May 2018 0 Comments  27960 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) GridView Row Values to another Page using QueryString in ASP.Net using C# and VB.Net.

Passing (Sending) whole GridView row through QueryString would not be a good idea due to the following reasons.
1. QueryString is unsecure for sending data as it can be easily tampered.
2. If GridView has too many Columns then it will be a very long URL with too many QueryString values.

Hence this article will illustrate, how only the Index of the GridView row will be sent using QueryString to another Page and the remaining data will be fetched using the PreviousPage property of ASP.Net.
14 May 2018 14 May 2018 0 Comments  51288 Views
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) rows in DataTable using For Each loop using C# and VB.Net.

This article will illustrate how to loop through GridView rows using For Each loop and add (insert) rows to DataTable using C# and VB.Net.
Results 81 - 100 of 518