If you've seen the recent Nissan Altima ad on the TV, you gotta wonder what the song was in the background. Well, I did, and turns out the song is called "Pride and Joy" by Stevie Ray Vaughn (SRV). Ever since I first heard that song, I've been playing it all week long. if you are curious, go ahead and play the song below and don't forget to blast your speakers with it.
I won ! I won !!
For the non .NET folks out there, there is a podcast called dotNetRocks which is very popular among the .NET community. I'm a huge fan of this podcast and any one who has been a roommate of mine in the last couple of years know that I listen to something (this podcast) as I go to bed.
Anyway, They have an ongoing contest in which they ask some question and you need to submit the answer on their website. So, last week I just registered on their website and answered a question and guess what, Today in show #273 they announced that I won.
So folks, go to http://www.dotnetrocks.com/default.aspx?showNum=273 and listen around 8:00 mins into the show.
P.S.: You'll also hear a silly little joke on tuscaloosa which you probably never heard of.
SqlDataSource: The bad and the ugly.
Note: If you are not an asp.net developer, this post may not make much sense.
When I was a newbie in asp.net, I actually used sqldatasource control on all my web pages. It didn't take much long for me though, to realize the problems with sqldatasource, which should be obvious to developers with any amount of experience. Sqldatasource control tightly couples the presentation layer with the data access layer. With any changes to your database, you may have to make changes in a number of places. I was like, "what were the Microsoft people thinking, when they created sqldatasource ?".
Anyway, here is a best practice for newbies.
Don't use SqlDataSource. Just don't.
Subscribe to:
Comments (Atom)