28 Nov 2014
0 Comments   20 Views
Here Mudassar Ahmed Khan has explained how to retrieve (get) data from database using Web Service in ASP.Net using C# and VB.Net.

The data will be fetched from database using a Web Method of Web Service and displayed in GridView control.
27 Nov 2014
0 Comments   107 Views
Here Mudassar Ahmed Khan has explained how to insert data into database using a Web Service in ASP.Net using C# and VB.Net.
The data will be inserted to database using a Web Method and the inserted data will be displayed in GridView.
26 Nov 2014
0 Comments   333 Views
Here Mudassar Ahmed Khan has explained how to solve the issue of jQuery event handler inside AJAX UpdatePanel not working after Partial PostBack in ASP.Net.
26 Nov 2014
0 Comments   519 Views
Here Mudassar Ahmed Khan has explained how to display image immediately after file is selected in FileUpload control using jQuery, CSS and HTML5.
25 Nov 2014
0 Comments   498 Views
Here Mudassar Ahmed Khan has explained how to change the URL in browser without reloading or refreshing the page using HTML5 History API in JavaScript and jQuery.

HTML5 History API allows browsers to modify the URL without reloading or refreshing the page using pushState function.
21 Nov 2014
1 Comments   612 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   608 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   712 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   724 Views
Here Mudassar Ahmed Khan has explained how to allow paging in DataList control in ASP.Net.
18 Nov 2014
0 Comments   685 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   563 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   1043 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   986 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   771 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   1437 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   1265 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   952 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   2247 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   1387 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   1106 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   2012 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   1312 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   1552 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   728 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   488 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.