How to Bind Data and Load Comboboxes / Dropdownlists in Microsoft CRM using Javascript and AJAX

Let’s say you have two tables that include towns and cities and you also have two fields in an entity that you have to keep the town and city of cus

How to set Null value for datetime in Visual Basic .NET

You can set NULL values for datetime values in your update parameters by using DBNull.value. SqlPar(0) = New SqlClient.SqlParameter("@CreatedOn", DBNu

AdventureWorks and sample databases for Microsoft SQL Server 2008, 2005

You can download sample databases for Microsof SQL Server 2008 or Microsoft SQL Server 2005 from CodePlex.

How to add ID dynamically to an SQL Query

You have to use the "ROW_NUMBER() OVER" command to give ids to the records you have in your query. A full command including "ROW_NUMBER OVER" is as t