Tag Archives: SQL Server Database

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 »

Data binding in WPF DataGrid control using SQL Server database

In this article I will explain how to display data from a SQL Server database table in a WPF DataGrid control Introduction Displaying data in a grid is a common task in a windows application. In a windows application we use DataGridView control for this task. In WPF we can use DataGrid control for the… Read More »