Results 16 - 20 of 457
24 Jul 2018 24 Jul 2018 0 Comments  1492 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Excel file directly from FileUpload control without Saving file 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 library, the Excel file data can be easily read from the InputStream property.
24 Jul 2018 24 Jul 2018 0 Comments  2454 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add DropDownList in ASP.Net GridView using C# and VB.Net.

The DropDownList will be added inside TemplateField column of GridView in ASP.Net.
24 Jul 2018 24 Jul 2018 0 Comments  1876 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the GridView Row and its RowIndex on Client Side when the GridView Row is selected using jQuery.

When the Select LinkButton is clicked, a jQuery Click event handler will be called and using the reference of the Selected Row, the values will be fetched and displayed using JavaScript Alert Message Box.

This article will also explain how to read values from the Cells and TextBoxes present in the GridView Row using jQuery.
17 Jul 2018 18 Jul 2018 0 Comments  2456 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView to PDF with Header Repeated on each Page using iTextSharp in ASP.Net with C# and VB.Net.

When the Export Button is clicked, a loop will be executed over the GridView Pages using PageCount property and GridView records for specific Page will be added to a new page of PDF.

Thus, using this technique each Page of PDF will have records of one Page of GridView with Header.
16 Jul 2018 16 Jul 2018 0 Comments  2137 Views
Here Mudassar Ahmed Khan has explained with an example, how to store (save) GridView data in ViewState in ASP.Net using C# and VB.Net.

When a new row is added to GridView, the row data will be added to a DataTable and the DataTable will be saved in ViewState in ASP.Net.
Results 16 - 20 of 457