.NET Answers

ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.
Subscribe

Archive for January, 2008

Storing a DataRow into a Session (server) variable

January 15, 2008 By: Dave Category: none

I recently ran into a situation where I needed to store a DataRow object, which is not serializable, into a Session variable using the Session Server.  As I mentioned yesterday, all sessions should be stored to either the Session Server or the SQL Session Server.  This means that all of the objects being stored must be serializable.

(more…)

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

The case of the disappearing session variables

January 14, 2008 By: Dave Category: none

Way back in ASP.NET version 1.1, I wrote one of my first asp.net web sites for a client that depended pretty heavily on session variables.  Without getting into the arguments about the wisdom of using session variables in the first place.  Let’s just say that we needed to store state information and that session variables were the best way to handle the issue.

We spent months working on the web site.  Everything worked fine during development and even as we tested the application… on our local computers.

But, once we put the application up on the server.  A shared server where a lot of other asp.net applications were also living, we suddenly found that the application would work, mostly.  But, every once in a while the application would act like it couldn’t find the session variables we were trying to store. (more…)

Sorting the ListView in ASP.NET

January 10, 2008 By: Dave Category: none

Are you confused about how to implement sorting in the new ListView control in ASP.NET 3.5?  Join me as I show you in this step by step video showing you exactly how to sort a ListView, even when it isn’t in gridview mode.

(more…)

Do Programmers even NEED a degree?

January 09, 2008 By: Dave Category: none

Well, this post yesterday, really got  things going in blog-o-sphere.  Shoot!  Even Joel Spolsky got involved.  I saw another post, but I’m sorry to say, I can’t find it right now.

The original article put forth the idea that we are teaching the right stuff in our undergraduate Computer science degree programs.

Joel’s article suggested that what we really need is a bachelor of fine arts program for programmers.  That programming, and computer science are really two entirely different disciplines.

I think Joel’s onto something and his solution is probably the closest to what our current educational system can handle.  But, I have another solution to the problem that goes further. (more…)

Bill Gates’ last day at Microsoft (video)

January 08, 2008 By: Dave Category: none

I try hard to post content that either adds something to another post or is original content.  But, just in case someone hasn’t already seen this clip:

Bill Gates’ last day at Microsoft (video)