Monthly Archives: December 2012

2012 in review

Annual stats of this blog Here’s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 15,000 views in 2012. If each view were a film, this blog would power 3 Film Festivals Click here to see the complete report.

How to edit Master-Detail form using GridView and DetailsView control in ASP.NET

In this article I will explain how to edit master-detail form using GridView and DetailsView control in ASP.NET Download source code Introduction In one of my previous article I explained how to Master-Detail form using GridView and DetailsView in ASP.NET. In this ariticle I will explain how to edit a master/detail form in ASP.NET from… Read More »

Recursive user defined function in SQL Server

Introduction In this post I will explain how write a recursive user defined function in SQL Server Description Recursive function is a function which calls itself for a certain number of times based on some business logic. We will create a simple recursive user defined function for calculating factorial of a number. Factorial of a… Read More »

Visual Studio Tips and Tricks: How to set Tab Order of Windows Forms controls in Visual Studio

Introduction In this post I will explain how to set tab orders of Windows Forms controls in Visual Studio Description Tab order of controls is the order in which a control is accessed using Tab key. We can easily set tab order of controls on a form in Visual Studio Add your controls on the… Read More »

How to write data of an SQL Server table to an XML file using C#

Introduction In this article I will discuss how to write data of an SQL server table to an XML file using C# Description I have an Employees table in Northwind database with some sample data that we are going to write in an XML file. You can download Northwind and pubs sample databases from here… Read More »

How to fix MySqlException-“Packets larger than max_allowed_packet are not allowed.” while inserting BLOB data in MySQL database using C#

Introduction In my previous articles I explained How to save images in MySQL database using C# in Windows Forms application and How to retrieve images from MySQL database and display as a slide show in Windows Forms application using C#. While inserting images more than 1 MB in MySQL BLOB column from C#, I got an… Read More »