Recent Posts

Calendar

October 2008
S M T W T F S
« Sep   Nov »
 1234
567891011
12131415161718
19202122232425
262728293031  

Monthly Archives: October 2008

DotNetNuke Modules – Creating the PA

IMG_1420 By now you have the basics for creating a DotNetNuke module.  The only question we have left to address is, how do we package this all up so that we can install it on another server?

The file we are going to create is called the Program Assembly (PA) and is a zip file that contains all the files that are needed for your module on the server and a file with a DNN extension that defines the module so that all the configuration options we put in DotNetNuke to define the module can be placed on the DotNetNuke installation we will install the PA into.… Read the rest

Readonly variables in CSharp? Really?!

A lone oryx antelope. I’m sure most of you are familiar with the keyword “const,” which allows you to declare a variable and give it a value and assures that no other code will change the value.

const int v = 23;

public void Foo()
{
    // This causes a compile error
    v = 22;
}

But what about the times when you need something that kind of works like a const but needs to be initialized by the constructor?… Read the rest

jQuery Simple Selectors

A03B0023 Last week we started looking at the jQuery selector by looking at the syntax we used to get our “hello world” demo working.

Today, we’ll start digging a little deeper into this main feature of jQuery.

There are four basic ways to get data using the selector.… Read the rest

Two CSS Files When Using ASP.NET Themes?

One of the projects that I’m working on is for a company targeting the Canadian marketplace.  These sites have to be written in both French and English for that country, which means there is a fair bit of internationalization written into our code.… Read the rest

SQL CURSOR Performance – SQL For Programmers

Last week I showed how to use the SQL CURSOR to loop through records in a database.  In that article I mentioned that you want to avoid using the CURSOR if you can because it has performance problems.

The article was posted on DZone where a self-proclaimed SQL guru picked it up and left a comment basically stating an alternate way of looping through records that would do the same thing but didn’t require the CURSOR.  What he suggested was the common practice of doing something like this: