25 Jan 2015
0 Comments   2 Views
Here Mudassar Ahmed Khan has explained how to bulk copy data from DataTable (DataSet) to SQL Server database Table using SqlBulkCopy in C#, VB.Net and ASP.Net.
24 Jan 2015
0 Comments   220 Views
Here Mudassar Ahmed Khan has explained how to redirect to another page when using Form Post method from code behind in ASP.Net using C# and VB.Net.
23 Jan 2015
0 Comments   95 Views
Here Mudassar Ahmed Khan has explained how to call Stored Procedure with parameters in Entity Framework using C# and VB.Net.
23 Jan 2015
0 Comments   82 Views
Here Mudassar Ahmed Khan has explained how to Rotate / Flip / Transpose DataTable - Convert DataTable Columns to Rows and Rows to Columns using C# and VB.Net.
He has also explained how we can get back the original DataTable from the Rotated / Flipped / Transposed DataTable using C# and VB.Net.
22 Jan 2015
0 Comments   397 Views
Here Mudassar Ahmed Khan has explained how to get value (text) of dynamically created TextBox controls in ASP.Net using C# and VB.Net.
20 Jan 2015
0 Comments   510 Views
Here Mudassar Ahmed Khan has explained how to export ASP.Net GridView data to Excel file and then sending it as file attachment in email without saving the exporting Excel file on disk.

The GridView data will be first fetched into a DataTable and then the DataTable will be exported into an Excel Sheet using OpenXml and ClosedXml Excel libraries.
20 Jan 2015
0 Comments   521 Views
Here Mudassar Ahmed Khan has explained how to handle Click event of dynamically generated Button, LinkButton and ImageButton controls in ASP.Net using C# and VB.Net.

He has also explained how to attach click event handlers to dynamic Button, LinkButton and ImageButton controls when using Master Pages and Content Pages.
19 Jan 2015
0 Comments   500 Views
Here Mudassar Ahmed Khan has explained a short step by step tutorial with example on how to add charts to the ASP.Net ReportViewer control.
He has also explained with an example to display a Pie Chart in the RDLC Report ReportViewer in ASP.Net using C# and VB.Net.

He is making use of a Typed DataSet for populating the Chart data in the RDLC Report.
16 Jan 2015
0 Comments   594 Views
Here Mudassar Ahmed Khan has explained the proper way to add AJAX Control Toolkit controls to ToolBox in Visual Studio 2008, 2010, 2012 and 2013.

AJAX Control Toolkit Library is not integrated in Visual Studio by default and hence I will explain a permanent way to add AJAX Control Toolkit controls to ToolBox in Visual Studio 2008, 2010, 2012 and 2013.
14 Jan 2015
1 Comments   436 Views
Here Mudassar Ahmed Khan has explained how to insert (save) Hindi, Marathi, Gujarati, Urdu, Persian, Arabic, Tamil, Telugu, Chinese (Mandarin) and Japanese languages Text characters in MySql database.

In MySql database we will need to set UTF-8 Collation for the Table to store the various languages text characters.
14 Jan 2015
0 Comments   407 Views
Here Mudassar Ahmed Khan has explained how to insert (save) Hindi, Marathi, Gujarati, Urdu, Persian, Arabic, Tamil, Telugu, Chinese (Mandarin) and Japanese languages Text characters in SQL Server database versions 2005, 2008, 2008R2 and 2012.

In SQL Server database we will need to use NVARCHAR data type to store the various regional languages text characters like Indian, Arabic, Persian, Chinese (Mandarin), Japanese, etc.
13 Jan 2015
1 Comments   520 Views
Here Mudassar Ahmed Khan has explained how to insert (save) Hindi, Marathi, Gujarati, Urdu, Persian, Arabic, Tamil and Telugu languages Text characters in MySql database using ASP.Net, C# and VB.Net.

In MySql database we will need to set UTF-8 Collation for the Table to store the various languages text characters.
12 Jan 2015
0 Comments   678 Views
Here Mudassar Ahmed Khan has explained how to make Crystal Report work with a dynamic DataSource i.e. without any database connection at design time in ASP.Net using C# and VB.Net.

The idea is to make generic Typed DataSet as a DataSource for Crystal Report and then populate the DataSet with the data from any Table of any Database.
12 Jan 2015
0 Comments   756 Views
Here Mudassar Ahmed Khan has explained how to disable mouse right click in ASP.Net (ASPX) page using JavaScript and jQuery.

The script has to be copied in Master Page or Content Page and it will disable mouse right click in ASP.Net (ASPX) page using JavaScript and jQuery.
09 Jan 2015
1 Comments   884 Views
Here Mudassar Ahmed Khan has explained how to create Crystal Report with dynamic columns in ASP.Net using C# and VB.Net.

The idea is to connect Crystal Report with a Generic Typed DataSet and then programmatically show hide dynamic columns in Crystal Report in ASP.Net.
08 Jan 2015
0 Comments   912 Views
Here Mudassar Ahmed Khan has explained how to print Crystal Report on Client Side on Button Click using JavaScript in ASP.Net. This solution will work printing for Crystal Reports version 13 generated with Visual Studio 2010, 2012 and 2013 in ASP.Net.
07 Jan 2015
0 Comments   709 Views
Here Mudassar Ahmed Khan has explained how to generate Crystal Reports using Strongly Typed DataSet in ASP.Net using C# and VB.Net.
07 Jan 2015
0 Comments   460 Views
Here Mudassar Ahmed Khan has explained how to solve the JavaScript errors Bobj is undefined and bobj.isObject is not a function when Crystal Report is used with Visual Studio 2012 and 2013.
07 Jan 2015
0 Comments   718 Views
Here Mudassar Ahmed Khan has written an informative article on how to download Crystal Reports for Visual Studio 2013 (VS 2013).
06 Jan 2015
0 Comments   861 Views
Here Mudassar Ahmed Khan has explained how to use enable CheckBoxField column in GridView in ASP.Net with C# and VB.Net. CheckBoxField columns in ASP.Net GridView are disabled and can be modified only when the GridView Row is in Edit mode.

This article will explain how to programmatically enable the CheckBox in CheckBoxField column of ASP.Net GridView.
06 Jan 2015
0 Comments   787 Views
Here Mudassar Ahmed Khan has explained how to solve ASP.Net URL Routing Problem with external StyleSheets (CSS) and JavaScript (JS) files. The problem happens when different levels of virtual paths are created in URL Routing and thus the external StyleSheets (CSS) and JavaScript (JS) files become inaccessible.
06 Jan 2015
0 Comments   681 Views
Here Mudassar Ahmed Khan has explained with an example, how to use CheckBoxField column in GridView in ASP.Net with C# and VB.Net.
05 Jan 2015
0 Comments   694 Views
Here Mudassar Ahmed Khan has explained how to use Connection String from App.Config file using C# and VB.Net by reading the value of the Connection String from the ConnectionStrings section of the App.Config.

In Windows applications, Class Library or Console applications one has to reference the System.Configuration Assembly in order to read Connection String value from the App.Config file.
05 Jan 2015
0 Comments   617 Views
Here Mudassar Ahmed Khan has explained how to read values of AppSettings from App.Config file using C# and VB.Net.

In Windows applications one has to reference the System.Configuration Assembly in order to read AppSetting values from the App.Config file.
05 Jan 2015
0 Comments   466 Views
Here Mudassar Ahmed Khan has explained how to solve the following warning in Visual Studio when working in C# or VB.Net Application.

Warning: System.Configuration.ConfigurationSettings.AppSettings' is obsolete: '"This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings"'