Results 1 - 5 of 56
24 Jul 2018 24 Jul 2018 0 Comments  904 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.
29 Jun 2018 29 Jun 2018 1 Comments  1245 Views
Here Mudassar Ahmed Khan has explained with an example, how to bulk import CSV file data into SQL Server database using SqlBulkCopy in ASP.Net using C# and VB.Net.

The CSV file will be uploaded and its data will be read into a DataTable and the DataTable data will be inserted into database using SqlBulkCopy in ASP.Net.
27 Jun 2018 27 Jun 2018 0 Comments  909 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.
22 Jun 2018 22 Jun 2018 0 Comments  756 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) WebGrid using ADO.Net in ASP.Net MVC Razor.

Inside the Controller, the records from the Database Table will be fetched using traditional ADO.Net method i.e. using SqlConnection, SqlCommand, SqlDataAdapter, etc.

The fetched records will be populated into a DataSet which will be ultimately used to populate the WebGrid in ASP.Net MVC Razor.
22 Jun 2018 27 Jun 2018 0 Comments  823 Views
Here Mudassar Ahmed Khan has explained with an example, how to draw Bar and Column charts using ASP.Net Chart control with C# and VB.Net.
Results 1 - 5 of 56