All Tags » Casting (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • ADO.NET, Nullable Types, Casting DBNull and You

    I know this may be a little too scary for some of you so I apologize in advance. Take a deep breath and try to imagine that you can't use NHibernate and you're stuck using ADO.NET (circa 2001, did they even have computers back then?). If you've ever tried to read the value from a column in...
    Posted to Alan Northam by anortham on 03-06-2008
    Filed under: Filed under: , ,
  • Databinding performance tip in ASP.NET

    In my last post I mentioned the use of C style casting when databinding in ASP.NET. That got me thinking about the performance differences between the two main ways to bind data in controls with custom templates (GridView, DataList, Repeater, etc). In my example I'm using a DataList and by default...
    Posted to Alan Northam by anortham on 10-08-2007
    Filed under: Filed under: , ,
  • Casting options in C#

    What is the best way to cast from one type to another in C#? This question came up at work last week while I was looking through some older code. The code in question was using the C style casting syntax. I have started to use the "as" style cast more often and rewrote it. Then I decided to...
    Posted to Alan Northam by anortham on 10-07-2007
    Filed under: Filed under: , ,
  • How-To: "Cast" between List<T>'s

    Problem : If you've ever tried to cast been list generics, you know that you can't. Example : 1. You have two classes Shape and Square, where Square inherits from Shape. 2. You have two generic lists, List<Shape> and List<Square>. 3. List<Square> does not inherit from List<Shape>...
    Posted to Lou Haskett by Louis Haskett on 06-13-2007
    Filed under: Filed under: , , ,
Page 1 of 1 (4 items)

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)