27 Feb 2015
0 Comments   2 Views
Here Mudassar Ahmed Khan has explained how to bind / fill / populate data to DropDownList control from database records in ASP.Net using C# and VB.Net.
The data will be populated from database table using DataReader.
26 Feb 2015
0 Comments   412 Views
Here Mudassar Ahmed Khan has explained how to display GridView Row details in New Popup Window using JavaScript and jQuery in ASP.Net.

The new Popup Window will be opened when the HyperLink in GridView row is clicked.
26 Feb 2015
0 Comments   296 Views
Here Mudassar Ahmed Khan has explained how to call WebMethod from JavaScript with parameters in ASP.Net using C# and VB.Net.

The WebMethod will be called using ASP.Net AJAX PageMethods.
25 Feb 2015
0 Comments   248 Views
Here Mudassar Ahmed Khan has explained a tutorial with example to create a basic Crystal Report in Windows Forms (WinForms) Application using C# and VB.Net.

The Crystal Report will be populated using Typed DataSet in in Windows Forms (WinForms) Application using C# and VB.Net.
25 Feb 2015
0 Comments   200 Views
Here Mudassar Ahmed Khan has explained how to solve the following exception occurring with Crystal Reports in Windows Application.

Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
25 Feb 2015
0 Comments   198 Views
Here Mudassar Ahmed Khan has explained how to solve the issue of missing Crystal Report Viewer control from ToolBox of Visual Studio 2010 when working with Windows Applications, even though Crystal Reports is installed properly.
25 Feb 2015
0 Comments   166 Views
Here Mudassar Ahmed Khan has explained how to change the Target Framework of VB.Net Windows and Console Applications in Visual Studio 2010.

For C# Windows and Console Applications, the Target Framework can be changed very easily using the Properties window. But for VB.Net projects, it is not visible.
24 Feb 2015
0 Comments   324 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example and sample code to create RDLC Report in Windows Forms (WinForms) application using C# and VB.Net.
The RDLC Report in in Windows Forms (WinForms) application will be populated using Typed DataSet.
24 Feb 2015
1 Comments   509 Views
Here Mudassar Ahmed Khan has explained how to maintain or retain the selected (active) tab in Bootstrap Tabs on PostBack in ASP.Net.
23 Feb 2015
0 Comments   650 Views
Here Mudassar Ahmed Khan has provided a simple tutorial with example on how to use Bootstrap Tabs.
22 Feb 2015
0 Comments   538 Views
Here Mudassar Ahmed Khan has explained how to dynamically add (insert) and remove (delete) items from ListBox control in ASP.Net using C# and VB.Net.

The items will be dynamically added (inserted) and deleted (removed) from ListBox control on Button click in ASP.Net.
22 Feb 2015
0 Comments   407 Views
Here Mudassar Ahmed Khan has explained how to dynamically delete (remove) multiple selected items from ListBox control on Button click in ASP.Net using C# and VB.Net.
22 Feb 2015
0 Comments   380 Views
Here Mudassar Ahmed Khan has explained how to dynamically add (insert) TextBox values to ListBox on Button click in ASP.Net using C# and VB.Net.

The TextBox values will be dynamically added to a DataTable which ultimately will be used to populate the ASP.Net ListBox control.
21 Feb 2015
0 Comments   573 Views
Here Mudassar Ahmed Khan has explained how to get Client ID of ASP.Net control in JavaScript and jQuery. This problem starts happening once we use Master Page as the ID of controls are changed on client side which makes it impossible to find an of ASP.Net control using JavaScript.
21 Feb 2015
0 Comments   387 Views
Here Mudassar Ahmed Khan has explained how to enforce file size limit by checking File size before upload on client side using HTML5.
20 Feb 2015
0 Comments   357 Views
Here Mudassar Ahmed Khan has explained how to dynamically include an external JavaScript JS file in another external JavaScript JS file.

The external JavaScript JS file will be included using dynamic Script Tags.
20 Feb 2015
0 Comments   492 Views
Here Mudassar Ahmed Khan has explained how to get value of Label set on client side using JavaScript on server side (code behind) in ASP.Net using C# and VB.Net.

Label controls do not send values to server and hence their value is lost on PostBack. To solve this issue we need to make use of Hidden Field which sends the JavaScript modified value to server.
19 Feb 2015
1 Comments   747 Views
Here Mudassar Ahmed Khan has explained how to call a JavaScript function on GridView Row click using jQuery in ASP.Net.

Using jQuery a Click event handler will be assigned to the GridView Row so that whenever the GridView Row is clicked the JavaScript function can be called.
19 Feb 2015
0 Comments   448 Views
Here Mudassar Ahmed Khan has explained with simple example, how to write an Instead Of Update Trigger in SQL Server.

This tutorial is applicable for all versions of SQL Server i.e. 2005, 2008, 2012, 2014, etc.
18 Feb 2015
0 Comments   447 Views
Here Mudassar Ahmed Khan has explained with simple example, how to write an Instead Of Insert Trigger in SQL Server.

This tutorial is applicable for all versions of SQL Server i.e. 2005, 2008, 2012, 2014, etc.
17 Feb 2015
0 Comments   541 Views
Here Mudassar Ahmed Khan has explained with simple example, how to write an Insert Of Delete Trigger in SQL Server.

This tutorial is applicable for all versions of SQL Server i.e. 2005, 2008, 2012, 2014, etc.
17 Feb 2015
0 Comments   650 Views
Here Mudassar Ahmed Khan has explained with simple examples, how to write Insert, Update and Delete Triggers in SQL Server.

This tutorial is applicable for all versions of SQL Server i.e. 2005, 2008, 2012, 2014, etc.
17 Feb 2015
0 Comments   526 Views
Here Mudassar Ahmed Khan has explained how to install AJAX Control Toolkit in ToolBox of Visual Studio 2008, 2010, 2012 and 2013.
17 Feb 2015
0 Comments   901 Views
Here Mudassar Ahmed Khan has explained how to create dynamic web pages in ASP.Net code behind using C# and VB.Net.
16 Feb 2015
0 Comments   608 Views
Here Mudassar Ahmed Khan has provided a tutorial with example to encrypt and decrypt Connection String in App.Config file used in Windows and Console Applications.

The Encryption and Decryption of the App.Config file’s ConnectionStrings section will be performed using aspnet_regiis.exe Command Line Utility of the Visual Studio.
16 Feb 2015
0 Comments   670 Views
Here Mudassar Ahmed Khan has explained explain how to use and make call ASP.Net AJAX PageMethods using ASP.Net AJAX and ScriptManager.
14 Feb 2015
0 Comments   858 Views
Here Mudassar Ahmed Khan has explained how to validate Google RECaptcha version 2.0 on Client Side using JavaScript and jQuery in ASP.Net.

The Google RECaptcha version 2.0 allows to validate the Captcha response on client side using its Callback functions.
The Google RECaptcha will be validated using ASP.Net RequiredField Validator.
14 Feb 2015
2 Comments   549 Views
Here Mudassar Ahmed Khan has explained how to register and get Google RECaptcha Site Key i.e. Public Key and Secret Key i.e. Private Key.

In order to integrate the Google RECaptcha to the website, one has to register the website with Google and then generate the required Site Key i.e. Public Key and Secret Key i.e. Private Key.
13 Feb 2015
0 Comments   1073 Views
Here Mudassar Ahmed Khan has provided a tutorial with example to encrypt and decrypt Connection Strings in Web.Config file in ASP.Net.

The Encryption and Decryption of the Web.Config file’s ConnectionStrings section will be performed using aspnet_regiis.exe Command Line Utility of the Visual Studio.
12 Feb 2015
0 Comments   857 Views
Here Mudassar Ahmed Khan has explained how to save and retrieve BLOB (Binary) Images from MySql Database in ASP.Net, C# and VB.Net.

The Image files will be saved as BYTE array in the BLOB field of MySql database.
12 Feb 2015
0 Comments   998 Views
Here Mudassar Ahmed Khan has explained how to upload Image and display it in Image control without physically saving it in a folder on disk in ASP.Net using C# and VB.Net.
12 Feb 2015
0 Comments   609 Views
Here Mudassar Ahmed Khan has explained how to call MySql Stored Procedure with Parameters in ASP.Net, C# and VB.Net.

The article explains with a simple example where a Stored Procedure will be passed with a parameter and it returns the matching records. In similar way one can pass multiple parameters.
11 Feb 2015
0 Comments   847 Views
Here Mudassar Ahmed Khan has explained how to implement Custom Paging in ASP.Net GridView using Stored Procedure in MySql database using C# and VB.Net.
11 Feb 2015
0 Comments   487 Views
Here Mudassar Ahmed Khan has explained how to download and install Microsoft Northwind Sample database in MySql. Microsoft’s Northwind database is available for SQL Server and MS Access but it is not available for download for MySql.

Instead of spending time in converting the SQL Server database to MySql, I’ll be making use of a SQL Script to create the Northwind database in MySql.
07 Feb 2015
1 Comments   940 Views
Here Mudassar Ahmed Khan has explained how to validate File extension before Upload using Regular Expression (Regex) in JavaScript and jQuery.

The selected File’s extension will be validated using a Regular Expression and an error message will be displayed when an invalid file is selected.