Loading HTML fragments with jQuery

0 Comments

When I want to load a html fragment I prefer the contents of the container div in the page and the HTML fragment to have the same ID, like:   Master page <!DOCTYPE html> <html>

Casting when dealing with nullable fields in a SqlDataReader

0 Comments

When dealing with nullable fields in a SqlDataReader, use: int? field_a = reader["field_a"] as int?; string field_b = reader["field_a"] as string; instead of: int? field_a = Convert.ToInt32(reader["field_a"]); string field_b = Convert.ToString(reader["field_a"]); http://stackoverflow.com/questions/2141575/how-to-efficiently-convert-cast-a-sqldatareader-field-to-its-corresponding

Fixing: User ‘Domain\Admin’ does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed. On a Windows 8.1 machine with SQL Server 2012 installed.

0 Comments

  After I installed Microsoft SQL Server Reporting Services 2012 and configured it with the Reporting Services Configuration Manager and clicked on de Report Manager URL:   I got the error message:   User ‘Domain\Admin’

Just a reminder: null = null, is not true in T-SQL

0 Comments

If you have a nullable column "Description" in one table and a nullable column "Description" in an other table and you join both tables on this column, records with both null in the field "Description"