Geeks With Blogs

News

Subscribe in a reader

Allen Buckley's Blog My experiences in .Net
16
Nov 11
I created a new ASP.NET MVC3 site for sports fans. It's just a beginning, but I really loved using MVC as opposed to Web Forms. I just found the html to be much cleaner and simpler. Plus the pages just seem faster without all the extra view state that most developers forget to turn off when they aren't using it. www.SportsDivide.com ......

It was a bit painful trying to figure out in ASP.NET MVC how to pass conditional data to a Partial View without the data being loaded in the View page every time it loaded. Obviously looking back it looks extremely simple, but I thought I would post some sample code in case someone else runs into this issue. The following is the code from the View page. ......

I ran into a problem when trying to view the Server Explorer window in VS 2008 today. The window would not show up in the Visual Studio IDE no matter what I tried, even when I went to View > Server Explorer. Fortunately, there is an easy fix for this in most cases. All you have to do is open up the VS 2008 Command Prompt and type in devenv /setup. ......

Microsoft is offering a new program which gives out free .Net Dev Software for independent consultants or companies with less than 10 employees. If you sign up for this program you will get several licenses for VS 2008, Expression Web, SQL Server, Windows Web Server, etc. for 3 years. This is a great new program that should really help startup’s get ......

We have several MS Reporting Service Reports at my company that were using a parameter that I’ll call “Person”. We display the reports on our ASP.NET Website and when a report is selected that needs the Person parameter we show a Person DropDownList. For some reason this was working fine on several reports, but not for a new report. We verified through ......

I’ve been doing a lot of refactoring lately and I’ve decided to list out a couple of common issues I found with code that I’ve come across in several projects I have worked on. One of the most common themes I’ve seen in ASP.NET projects is Business logic code in the Click Events. It is really frustrating to see several hundreds of lines in one Event. ......

I needed to do a quick sort on a DropDownList Server Control and found a great way of doing it in just 4 lines of code. Your project will need to be pointed to the .NET 3.5 Framework and will need a reference to System.Linq. List<string> list = DropDownList.Items.Cast<... => item.Text).ToList(); list.Sort((x, y) => ......

I found a great resource, MIT Open Courseware, a few weeks ago and I'm writing about it for anyone else that might be interested. M.I.T. is offering several of its previous courses online and is giving anybody who wants to learn the ability to actually see all the resources from the entire semester. They have videocasts, audiocasts, lecture notes, assignments, ......

Yesterday, I was trying to hook my Asp.Net 2.0 website up to IIS. The problem I was having though is that my Update commands would give me read-only errors. I checked the permissions to make sure the .MDF and the .LOG files had the correct permissions. I then checked to make sure that the read-only checkbox was unchecked and it was for both files. So ......

Recently, I added two books to my collection. The two books are Programming Role Playing Games with DirectX and Pro C# 2005 and the .Net 2.0 Framework. Programming Role Playing Games has really helped out a beginner like me when it comes to programming video games. This book walks you through just about every area of creating a role playing game from ......

This inline code is used to insert a dropdownlist into a datagrid/detailsview control in place of a given text area when using the InsertItemTemplate. The reason for doing this is to force the user to submit a answer out of options you choose to give, rather then letting them enter an open ended answer which you might not need or want. The BoundField ......

I came across an error today in SQL Server 2005. The row value(s) updated or deleted either do not make the row unique or they alter multiple rows. The reason I got this error was because I created a table for a data mapping application and in my haste I forgot to include a primary key. I checked my table today and found records that were duplicated ......

I used a wizard today to create a dataset (.xsd) and when I ran my web application I had hundreds of warnings in my newly generated dataset telling me my code was not CLS-compliant. I checked out what CLS-compliant means and apparently this warning is new in VS 2005 and is used to check to see if your application is following CLS (Common Language Specifications). ......

Thanks Jeff for allowing me to join geekswithblogs.net. Since I'm new to the community I should start off by telling everybody a little about myself. I have been developing software professionally for a year and a half now and have a B.S. in Information Systems Management. I am at a stage in my life that I'm sure many of you have been in at some point ......

Copyright © Allen Buckley | Powered by: GeeksWithBlogs.net | Join free