While reading about a recent question concerning @@Identity and the reasons to use SCOPE_IDENTITY() instead I experimented with LINQ to get the SCOPE_IDENTITY() results. using (var dbc = new siteDataContext()) { dbc.Log = Console.Out; repertoire newSkill = new repertoire { skill = “a new item” }; dbc.repertoires.InsertOnSubmit(newSkill); dbc.SubmitChanges(); Console.Write(newSkill.id.ToString()); } It seems that calling the… Continue reading SCOPE_IDENTITY() with LINQ
Author: Mark
Sweet rhythm section
http://www.youtube.com/watch?v=jbN-jO11vKg
Music really does set the mood
http://www.youtube.com/watch?v=Kr-e3qGQ884 😆
71.5% of screen reader users find Flash difficult to use
WebAIM‘s Screen Reader Survey, conducted December 2008 to January 2009, is a very interesting read. Yet another nail in the Flash coffin but surprisingly Frames are deemed easy to use by nearly 60% of screen-reader users. Give it a quick look. Comments open.
Adding AJAX to an existing project that includes Routing
I was working on a project and just on a whim decided to try out some of .NET’s AJAX controls. I chose a random page, added a ScriptManager, tossed in a TextBox and a CalendarExtender. F5. Page shows up. Javascript error: Line: 121 Char: 1 Error: ‘Sys’ is undefined Code: 0 Url: http://localhost:49329/admin.aspx Hmm. Try… Continue reading Adding AJAX to an existing project that includes Routing
Working on Bible Verse Tags for ASP.NET (C#)
To do: build Regex to detect bible verses in tags put in named back-references find a way to choose different tables with LINQ make it work for an entire chapter add error messages move it to a class file instead of in the page run it from the filterText method if IndexOf(“[bible]”) !=-1 fix toVerse… Continue reading Working on Bible Verse Tags for ASP.NET (C#)
Firebug primer by Hugo
For those that are not aware Firebug is a add-on for Firefox, and is essentially a development debugging tool, that allows you to inspect various aspects of a web page. It has become – for those that have used it for a while – one of those indispensable tools that make day to day coding… Continue reading Firebug primer by Hugo
Why I don’t do xmas
It involves lying. Do you tell your children “if you’re good Santa will bring you presents”? That’s a lie. Do you tell your children that Santa exists? That’s a lie. Do you tell your children that Santa actually flies in a sleigh and delivers gifts? That’s a lie. It encourages children to lie. “Yes, I… Continue reading Why I don’t do xmas
Join Project Honeypot
A fake iPod
For those of you that still insist on using ebay I’d suggest caution when purchasing an “iPod” from ebay. Counterfeit Official iPod There is a little apple logo and the word “iPod” at the bottom of the screen I don’t see that logo on the real iPod Memory and processor chip at top (behind screen)… Continue reading A fake iPod
Let me check my calendar
OK, this is 2008. I know there are tons of hack web designers out there that bought a copy of dreamweaver but please give me a break. Hey, I’m not against hacks, I mean someone’s got to do pages for $10 or else the bait shop won’t ever get a web site. I just want… Continue reading Let me check my calendar
Why I am the way I am – IV
Grade: Kindergarten Age: 4 It seemed like a regular Friday. We had alphabet, milk break and recess just like every regular day. After recess we’d normally just sit and draw or play and wait to get ready for the bus. Miss McNanny announced after recess that we should each pick a partner for “something special”.… Continue reading Why I am the way I am – IV