New Additions
30 Nov 2017 10 Jul 2020 0 Comments  12339 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display Barcode Image in ASP.Net MVC Razor.

The Barcode Image will be dynamically generated using .Net Graphics API and Barcode Font in ASP.Net MVC Razor.
17 Dec 2014 10 Jul 2020 2 Comments  28014 Views
Here Mudassar Ahmed Khan has explained how to dynamically generate and display barcode image in Windows Forms (WinForms) Application using C# and VB.Net.
09 Jul 2020 09 Jul 2020 0 Comments  129 Views
ASP.Net  MVC  Core  QRCode
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display QR Code Image in ASP.Net Core MVC Razor.

The QR Code Image will be dynamically generated in ASP.Net Core MVC Razor using the QRCoder library which is an Open Source Library QR code generator.
07 Jul 2020 07 Jul 2020 0 Comments  234 Views
Here Mudassar Ahmed Khan has explained with an example, how to return List from SqlDataReader in ASP.Net using C# and VB.Net.

The records from the Database will be read using SqlDataReader and then the data is copied into the Generic List collection of the Class objects, which is later used to populate the GridView in ASP.Net using C# and VB.Net.
13 Jul 2015 06 Jul 2020 0 Comments  12793 Views
Here Mudassar Ahmed Khan has explained with an example, how to display the details of the GridView Row in JavaScript alert message box when the Button inside the GridView Row is clicked in ASP.Net using C# and VB.Net.
09 Mar 2016 06 Jul 2020 0 Comments  10556 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) GridView using Property Class in ASP.Net using C# and VB.Net.

The records from the Database will be read using SqlDataReader and then the data is copied into the Generic List collection of the Property Class objects,
which is later used to populate the GridView in ASP.Net using C# and VB.Net.
31 May 2012 06 Jul 2020 22 Comments  144269 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically generate and display Barcode Image in ASP.Net using C# and VB.Net.

The Barcode Image will be generated using the IDAutomationHC39M Free Version Barcode Font in ASP.Net using C# and VB.Net.
02 Mar 2015 30 Jun 2020 0 Comments  111042 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass the variable values created in JavaScript to Server Side (Code Behind) in ASP.Net using C# and VB.Net.
30 Jun 2020 30 Jun 2020 0 Comments  359 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Paging (Pagination) in ASP.Net Core MVC.
Paging (Pagination) will be implemented using Entity Framework in ASP.Net Core MVC.
30 Jun 2020 30 Jun 2020 0 Comments  277 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from JavaScript function to Code Behind (Server Side) function in ASP.Net using C# and VB.Net.

The JavaScript Array will be converted into a Comma Separated string and then saved in a HiddenField and then will be sent to Code Behind (Server Side) function through PostBack (Form Submission) in ASP.Net using C# and VB.Net.
04 Jan 2013 29 Jun 2020 50 Comments  817288 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a server side confirmation box using JavaScript confirm function in ASP.Net using C# and VB.Net.

The JavaScript confirm function allows PostBack when OK is clicked but does nothing when Cancel is clicked and on many occasions we want to do server side operations on both OK and Cancel click events in ASP.Net using C# and VB.Net.
29 Jun 2020 29 Jun 2020 0 Comments  271 Views
Here Mudassar Ahmed Khan has explained with an example, how pass (return) value from JavaScript function to Code Behind (Server Side) function in ASP.Net using C# and VB.Net.

The returned value from JavaScript function will be saved in a HiddenField and then will be sent to Code Behind (Server Side) function through PostBack (Form Submission) in ASP.Net using C# and VB.Net.
11 Feb 2012 29 Jun 2020 20 Comments  168659 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a server side Yes/No Confirmation Box using JavaScript in ASP.Net using C# and VB.Net.

The JavaScript confirm function allows PostBack when OK is clicked but does nothing when Cancel is clicked and on many occasions we want to do server side operations on both OK and Cancel click events in ASP.Net using C# and VB.Net.
08 Feb 2019 28 Jun 2020 0 Comments  9690 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) GridView to Excel file using JavaScript and jQuery in ASP.Net.

The GridView’s HTML Table will be exported (converted) to Excel file using the jQuery table2excel plugin in ASP.Net.
08 Feb 2019 28 Jun 2020 0 Comments  3912 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) GridView to PDF file using JavaScript and jQuery in ASP.Net.

The GridView’s HTML Table will be first converted into a HTML5 Canvas using html2canvas plugin and then the HTML5 Canvas will be exported to PDF file using the pdfmake plugin in jQuery.
05 Jul 2011 27 Jun 2020 6 Comments  78190 Views
Here Mudassar Ahmed Khan has explained with an example, how to make AJAX call to Server Side Web Service's WebMethod using jQuery in ASP.Net using C# and VB.Net.

jQuery allows to call Server Side ASP.Net methods from client side without any PostBack. It is an AJAX call to the Server but it allows us to call the method or function defined in server side.
27 Jun 2020 27 Jun 2020 0 Comments  414 Views
ASP.Net  Google  MVC  Maps
Here Mudassar Ahmed Khan has explained with an example, how to implement Google Places (Address) AutoComplete TextBox in ASP.Net MVC Razor.

This article will explain how to get the complete Address of a Location using the Google Places API of Google Maps and then send the complete Address and its Geographical coordinates i.e. Latitude and Longitude to Controller in ASP.Net MVC Razor.

The Google Places (Address) AutoComplete TextBox is part of Google Maps API and it is used to find out Address and their Geographical coordinates i.e. Latitude and Longitude of a Location.
26 Jun 2020 26 Jun 2020 0 Comments  358 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Google Places (Address) AutoComplete TextBox in ASP.Net using C# and VB.Net.

This article will explain how to get the complete Address of a Location using the Google Places API of Google Maps and then send the complete Address and its Geographical coordinates i.e. Latitude and Longitude to Server Side method in ASP.Net using C# and VB.Net.

The Google Places (Address) AutoComplete TextBox is part of Google Maps API and it is used to find out Address and their Geographical coordinates i.e. Latitude and Longitude of a Location.
25 Jun 2020 25 Jun 2020 0 Comments  390 Views
Here Mudassar Ahmed Khan has explained with an example, how to refresh DataGridView after record delete in Windows (WinForms) Application using C# and VB.Net.

When the Delete Button is clicked, a Confirmation MessageBox will be displayed and if the User clicks Yes button the Row will be deleted (removed) from DataGridView.

Then the DataGridView will be refreshed by again populating fresh data from the Database in Windows (WinForms) Application using C# and VB.Net.
11 Apr 2017 24 Jun 2020 0 Comments  13665 Views
Here Mudassar Ahmed Khan has explained with an example, how to Crop and Upload Image with Live Thumbnail Preview using jQuery and HTML5 Canvas in ASP.Net MVC Razor.

The image will be cropped using the Jcrop jQuery plugin, and the Live Thumbnail Preview is displayed using HTML5 Canvas and finally the Cropped Image is uploaded and saved in a folder on server using ASP.Net MVC Razor.
22 Dec 2014 24 Jun 2020 2 Comments  57537 Views
Here Mudassar Ahmed Khan has explained how to Crop and Upload Image with Live Thumbnail Preview using jQuery and HTML5 Canvas in ASP.Net with C# and VB.Net.

The image will be cropped using the Jcrop jQuery plugin, and Live Thumbnail Preview is displayed using HTML5 Canvas.
24 Jun 2020 24 Jun 2020 0 Comments  363 Views
Here Mudassar Ahmed Khan has explained with an example, how to crop and upload Image with Live Thumbnail Preview using jQuery and HTML5 Canvas in ASP.Net Core MVC.

The image will be cropped using the Jcrop jQuery plugin, and the Live Thumbnail Preview is displayed using HTML5 Canvas and finally the Cropped Image is uploaded and saved in a folder on server using ASP.Net Core MVC.
19 Jun 2020 19 Jun 2020 0 Comments  601 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web Service using JavaScript XmlHttpRequest in ASP.Net with C# and VB.Net.

The Web Method of Web Service (ASMX) in HTML Page will be called using XmlHttpRequest (XHR) AJAX call in ASP.Net.
11 May 2013 18 Jun 2020 27 Comments  537436 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to export GridView to Excel file in ASP.Net with formatting and styles using C# and VB.Net.

This article will illustrate how to export all Pages of GridView with Paging Enabled to Excel file along with formatting i.e. Styles and Colors in ASP.Net.

When the Export Button is clicked, the GridView will be rendered as an HTML string which will be later written to Response Stream and ultimately downloaded as Excel file in ASP.Net.
18 Jun 2020 18 Jun 2020 0 Comments  678 Views
Here Mudassar Ahmed Khan has explained with an example, how to import (insert) Excel file data into Database using SqlBulkCopy in ASP.Net Core MVC.

The uploaded Excel file data will be read using OLEDB library and the read data will be inserted into SQL Server database using SqlBulkCopy.

SqlBulkCopy class as the name suggests does bulk insert from one source to another and hence all rows from the Excel sheet can be easily read and inserted using the SqlBulkCopy class.