May 2008 - Posts

0
Comments

Retrieving SQL Type Image Using LINQ by Jason N. Gaylord

LINQ views the Image type in SQL Server as Binary. So, there are a few options that we have. We can either (a) modify our LINQ to SQL class and change the property to Byte() instead of Binary or we can (b) convert the Binary to an array. To do the latter...
0
Comments

ASP.NET MVC Preview 3 Announced by Jason N. Gaylord

Scott Guthrie just posted about the 3rd preview of the ASP.NET MVC over on his blog. You can catch the full details here: http://weblogs.asp.net/scottgu/archive/2008/05/27/asp-net-mvc-preview-3-release.aspx .
Filed under: ,
2
Comments

Attention Twitter: Wise up! by Jason N. Gaylord

I read through the Twitter blog from time to time just to see how things are going. Apparently, things aren't going good. Pagination and IM updates have been temporarily disabled and something has caused my twitter utilities (twhirl and OutTwit) to cease...
0
Comments

Force Your Web Site To Be IE8 Compatible by Jason N. Gaylord

Microsoft recognizes that it will be difficult to have all sites use the latest HTML and CSS specs that are found in IE8. To accommodate the web sites that cannot be converted at this time, they've created a work around. There are two options: a) you...
9
Comments

SQL Management Studio Shows All Databases by Jason N. Gaylord

This has "bugged" me for awhile. When you log into any version of SQL (2000, 2005, and even 2008) as a user with restricted access to just a single database (or even a few databases), you can still see a complete list of all the databases on...
Filed under:
3
Comments

Using "Like" in LINQ to SQL by Jason N. Gaylord

I've recently discovered that LINQ and VB can be confusing. I was attempting to pull the top 10 rows of a table where the column started with 'W'. You'd think after I typed that, I'd figure out the solution. That's not the case. Instead, I struggled....
Filed under: ,
6
Comments

Using LINQ to SQL and ConnectionStrings in a Class Library by Jason N. Gaylord

I was looking to separate my LINQ to SQL data layer from the rest of my application. So, I decided to move the files to a class library. This way, when my application builds, all of my LINQ files are found in MyApp.DL or something similar. However, I...
Filed under: , , ,
1
Comments

Obtain the Identity of a New Row Using LINQ by Jason N. Gaylord

It's actually pretty easy and user friendly to obtain the value of the identity column using LINQ. After you create your object and insert it on submit, you can call the identity column's property on your object. For instance: Dim db As New BlogDataContext...
0
Comments

3G iPhone will Come In June by Jason N. Gaylord

According to Gizmodo, the iPhone 3G launch date will be June 9th. It will be interesting to see what further market share the iPhone will capture with this latest phone. I know many individuals have held out from purchasing an iPhone because of the lack...
Filed under: , ,
0
Comments

Philly.net Code Camp #2 by Jason N. Gaylord

The second Philly.net Code Camp will be held tomorrow. Roughly 600 attendees will get to see some great talks in 8 different tracks. For more information about the event, check out http://tinyurl.com/5t7qdw .
More Posts Next page »