Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports .NET 2.0: March 2007

Tuesday, March 27, 2007

C# Get HashTable Value by Key

htSegmentFields.Add("MSH","23");

string strSegmentName = "MSH";
int intSegmentFieldsMax = 0;
intSegmentFieldsMax = Convert.ToInt16(htSegmentFields[strSegmentName].ToString());

intSegmentFieldsMax would equal 23 using the command above to access the value by the key "MSH".

Saturday, March 24, 2007

C# Char for CR/LF in ASCII Hex / Decimal

"\r" = chr(13) also CR ASCII Dec 13 / Hex 0D.
"\n" = chr(10) also LF ASCII Dec 10 / Hex 0A.

Friday, March 23, 2007

C# Convert Integer to Hex

// convert integer to hex
strChrAsciiHexValue = String.Format("{0:X2}", intChar);

Play on Letters / Acronym

I'd heard the C# was named C# by putting the 2 '+' plus characters together to make the # symbol. And that makes sense. First came C, C+, C++ & C#.

I just noticed an association I hadn't made before. 'C' is the 3rd letter of the alphabet. On your keyboard '#' shares the key with 3.

If the first time is a throw away... then C# is version 3 of C.

Ok... I'll stop there.

Thursday, March 22, 2007

Great Blogs

Dino Esposito: http://weblogs.asp.net/despos/
Scott Guthrie: http://weblogs.asp.net/scottgu/
Rockford Lhotka: http://www.lhotka.net/weblog/

Monday, March 05, 2007

ALM & Source Control Ads

These adds are wonderful:

http://www.sourcegear.com/ads/SGad1.pdf
http://www.sourcegear.com/ads/SGad2.pdf

Saturday, March 03, 2007

Visual Studio 2005 : Line Numbers

File -> Tools -> Options -> Text Editor -> All Languages -> General




Visual Studio 2005 : TODO or Task List

Make Task List Visible: File -> View -> Task List
Modify Task List Tokens: File -> Tools -> Options -> Task List

Friday, March 02, 2007

Dot Net Rocks

http://www.intellectualhedonism.com/CategoryView.aspx?category=dnr

Meditech NPR Reports / NPR Report Writing / NPR Report Writer / Meditech NPR / Non-Procedural Report / Meditech Consulting / Meditech Reports