21 Nov 2014
1 Comments   328 Views
Here Mudassar Ahmed Khan has explained how to calculate distance, travel duration, draw (plot) route and display directions between two address locations using Google Maps V3 and Google Places.
21 Nov 2014
1 Comments   380 Views
Here Mudassar Ahmed Khan has explained how to implement the Google Places Autocomplete TextBox without using Google Maps.

In addition, this article also explains how to use the Place changed event handler of the Google Autocomplete TextBox to get the selected place, its address and its geographical location coordinates i.e. Latitude and Longitude.
20 Nov 2014
0 Comments   487 Views
Here Mudassar Ahmed Khan has explained how check (validate) File (Image) size before upload using JavaScript and jQuery.

HTML5 allows developers to access the file contents and details using JavaScript and jQuery and hence in browsers that support HTML5 one can easily determine the size of the File.
For browsers that don’t support HTML5 have to use jQuery Flash plugins like Uploadify.
19 Nov 2014
0 Comments   527 Views
Here Mudassar Ahmed Khan has explained how to allow paging in DataList control in ASP.Net.
18 Nov 2014
0 Comments   540 Views
Here Mudassar Ahmed Khan has explained a very interesting topic i.e. to detect whether the keyboard Caps Lock key is ON or OFF dynamically when typing into a TextBox using JavaScript and jQuery.

There is no way to detect whether in a browser but by writing some logic to detect the various keyboard keys I have developed a code that does the job and works in all browsers.
18 Nov 2014
0 Comments   432 Views
Here Mudassar Ahmed Khan has explained how to draw a route between user’s current location and the specified location on Google Maps V3.

In day to day life in our mobile phones we make use of navigation, in similar way using the HTML5 GeoLocation feature we can determine the current location of the user and using the Google Maps Geocoding API we can determine the position coordinates i.e. Latitude and Longitude of an Address.

Thus now we can easily draw route between the two locations using the Google Maps Routing API.
16 Nov 2014
0 Comments   822 Views
Here Mudassar Ahmed Khan has explained how to read and display data from a sheet of an Excel file (.xls and .xlsx) and display it in ASP.Net using C# and VB.Net.
15 Nov 2014
0 Comments   765 Views
ASP.Net   AJAX   JQuery   JSON
Here Mudassar Ahmed Khan has explained how to populate CheckBoxList control from database on client side using jQuery AJAX, JSON and Web Method in ASP.Net using C# and VB.Net.

Just like the ASP.Net server side CheckBoxList, this jQuery CheckBoxList also supports the RepeatColumns property using which one can repeat the CheckBoxes in multiple columns.
This article also explains how to get the Selected Text and Value of the ASP.Net CheckBoxList populated using jQuery AJAX on Button click.
14 Nov 2014
0 Comments   579 Views
Here Mudassar Ahmed Khan has explained how to create an Excel file using the data (records) from SQL Server Table and then download it in ASP.Net using C# and VB.Net.
12 Nov 2014
1 Comments   1156 Views
Here Mudassar Ahmed Khan has explained how to perform Select, Insert, Edit, Update and Delete operations using a Web Service and Web Method in ASP.Net.

In order to illustrate, he will be using a GridView in which he will perform Insert, Edit, Update and Delete operations using a Web Service in ASP.Net, C# and VB.Net.
07 Nov 2014
0 Comments   1101 Views
Here Mudassar Ahmed Khan has explained how to print HTML DIV content without opening new popup window using JavaScript.

The traditional method to print HTML DIV content is to open a new popup window and write the contents to it and finally call the Print command. Thus in this article I will explain how to get rid of the popup window and print the DIV content.
06 Nov 2014
0 Comments   867 Views
Here Mudassar Ahmed Khan has explained how to print contents of HTML DIV using JavaScript. The contents of the HTML DIV will be printed with a Print Preview.
05 Nov 2014
1 Comments   1961 Views
Here Mudassar Ahmed Khan has explained how to perform select, insert, edit, update, delete in GridView using a single Stored Procedure in ASP.Net using C# and VB.Net.

This process is also known as CRUD i.e. Create, Read, Update and Delete in GridView using Stored Procedure with SQL Server database backend in ASP.Net.
05 Nov 2014
1 Comments   1238 Views
Here Mudassar Ahmed Khan has explained how to dynamically generate and display barcode image using ASP.Net in C# and VB.Net.

For generating QR Codes I will make use of QRCoder which is an Open Source Library QR code generator.
03 Nov 2014
0 Comments   992 Views
Here Mudassar Ahmed Khan has explained how to solve the error “The data source does not support server-side data paging” when using GridView with paging enabled in ASP.Net.
01 Nov 2014
0 Comments   1646 Views
ASP.Net   HTML   Tips
Here Mudassar Ahmed Khan has explained how to get the selected value of HTML Select DropDownList in ASP.Net code behind using C# and VB.Net.

There are two ways we can access the HTML Select DropDownList selected value in ASP.Net code behind
1. Using Request Form collection and name property.
2. Using runat = “server” property.
31 Oct 2014
0 Comments   1153 Views
ASP.Net   HTML   Tips
Here Mudassar Ahmed Khan has explained how to get the value of the HTML Input TextBox in ASP.Net code behind using C# and VB.Net.

There are two ways we can access the HTML Input TextBox value in ASP.Net code behind
1. Using Request Form collection and name property.
2. Using runat = “server” property.
29 Oct 2014
0 Comments   1349 Views
Here Mudassar Ahmed Khan has explained how to set (Check \ Uncheck) CheckBox in GridView based on DataTable value from Database in ASP.Net using C# and VB.Net.
29 Oct 2014
0 Comments   649 Views
Here Mudassar Ahmed Khan has provided a tutorial to build ASP.Net Application using MySQL database with examples in C# and VB.Net.
29 Oct 2014
0 Comments   436 Views
Here Mudassar Ahmed Khan has explained how to use and MySQL Connector to connect to MySQL database in ASP.Net application using C# and VB.Net.
18 Oct 2014
2 Comments   1866 Views
Here Mudassar Ahmed Khan has explained how to import data from Excel file’s sheet and display in DataGridView control in Windows Forms (WinForms) application using C# and VB.Net.

The Excel sheet data will be read into a DataTable which is then used to populate the DataGridView control.
15 Oct 2014
1 Comments   4979 Views
Here Mudassar Ahmed Khan explained how to generate Mashape API key. Readers of this site are unable to create Mashape API keys and use it for Sending Free SMS from ASP.Net and hence he decided to write a short article explaining the same.
14 Oct 2014
0 Comments   2108 Views
Here Mudassar Ahmed Khan has explained how to export DataGridView data to Excel file in Windows Forms (WinForms) Applications using OpenXml and ClosedXml Excel conversion libraries, C# and VB.Net.

DataGridView cannot be exported directly to Excel file and hence need to generate a DataTable and export the DataTable to Excel file.
13 Oct 2014
0 Comments   2419 Views
Here Mudassar Khan has explained how to insert data in GridView without using database in ASP.Net using C# and VB.Net.

Multiple Rows and columns will be added to GridView with the help of DataTable in ViewState or Session thus the GridView is populated without using database.
11 Oct 2014
1 Comments   2418 Views
Here Mudassar Ahmed Khan has explained how to display data from database in HTML Table in ASP.Net using C# and VB.Net.