Geeks With Blogs
Matt Roberts Rails and .NET June 2006 Entries
Tip: Visualize ADO Recordsets in .NET 2 (via COM Interop)
We have a lot of old COM code we interop with, and its ugly debugging the contents of a recordset from within .NET.... but now theres a much nicer way to do it in 2005 :) All you need to do is load your ADO Recordset into a DataSet, and then use the new visualizer stuff in visual studion 2005 to have a proper look at the contents of that recordset... Heres how to get the recordset into a DataSet: DataSet ds = new DataSet(); System.Data.OleDb.OleDbData... adapter = new System.Data.OleDb.OleDbData... ......

Posted On Friday, June 9, 2006 7:21 AM

Regular Expressions in VB/Javascript/.NET
Having had to code the same regular expression code in 3 different languages today, this post shows how the syntax differs for a fairly simple regular expression task. I'm posting it here for so I can look it up iin teh future, and it might be useful to someone out there - I'm simply looking for 2 parts of a frequency code string (in the format of [number][code] e.g. "15M"), which I want to capture and store in 2 variables... VBScript code Dim m As Match Dim matches As MatchCollection Dim re As RegExp ......

Posted On Thursday, June 1, 2006 9:52 AM

Copyright © Matt Roberts | Powered by: