Category Archives: Code-ing

namespace manager required

using System; using System.IO; using System.Xml; using System.Xml.XPath; namespace consAppXpath1 { class Program { static void Main(string[] args) { //load xml Byte[] content = System.Text.Encoding.ASCII.GetBytes(Properties.Resources.TestConfigInNamespace); MemoryStream memoryStream = new MemoryStream(content); XPathDocument doc = new XPathDocument(memoryStream); //setup xpath processing XPathNavigator nav … Continue reading

Posted in Code-ing, Uncategorized | Leave a comment

T-SQL Rollback

I am sharing this T-SQL Forum link to a thread on a clean way to combine TRY CATCH WITH TRAN, ROLLBACK AND COMMIT : T-SQL FORUM POST-CLICK HERE USE testdb BEGIN TRAN BEGIN TRY INSERT INTO dbo.T1 ( keycol, col1, … Continue reading

Posted in Code-ing, Uncategorized | Tagged | Leave a comment

Events and Delegats in VB.NET

Here is a code example of using delegates and events in VB.NET

Posted in Code-ing | Leave a comment

CodeArtisan Interface Hierarchies

Is this accurate from your blog?

Posted in Code-ing | 1 Comment

IEEE Northwest Florida Software Summit 2010

Awesome conference today on software architecture and development processes. Learned alot from Mike Knox about CMMI and Chris Eargle about functional aspects of .NET 3.0 and later. Too bad it was so beautiful outside. Made new friends and re-connected with … Continue reading

Posted in Code-ing | Leave a comment

Main difference between WINFORMS AND WEBFORMS

Main difference between WINFORMS and WEBFORMS is that must call the DataBind() method of the control you wish to bind data to, for example, look at this GridView control that will display Customer data, gvCustomers.DataBind(); In WINFORMS, there is no … Continue reading

Posted in Code-ing | Leave a comment

How do you sync two tables so they are identical?

When ever you are testing a data driven and data intensive application, the following requirement is very typical. Tandem(side by side) testing of the new application compared to the live production application. So that, your dev app, produces the identical … Continue reading

Posted in Code-ing | 1 Comment

Create script for Fowler P of EAA

This is a create script for T-SQL. Just create a database in SSMS and click on New Query. Simply copy the code below and click Run. Then, just populate the tables with dummy data, and you should be good to … Continue reading

Posted in Code-ing | Leave a comment

Book Review-Jason T. Roff

In Jason T. Roff’s book called UML A Beginners Guide, in Critical Skill2.5, titled Understand How to Use Include and Extend Relationships, he explains how to diagram includes and extends, here it goes… The inlude-ING use case ORIGINATES the arrow … Continue reading

Posted in Code-ing | Leave a comment

Implementation-Data Driven Unit Testing

I wanted to share this piece of code with you so you can get an idea of how to do data-driven unit tests. Here it goes… Imports System.DataImports System.Data.SqlClient Public Class LogIn    Public Sub New()    End Sub     … Continue reading

Posted in Code-ing | Leave a comment