What’s wrong with picture?

cmd.Parameters.Add(“@isAdmin”, SqlDbType.Bit).Value = isAdmin ? Convert.ToBit(“1”) : Covert.ToBit(“0”);

I swear, I saw this coded in our solution.

Posted from WordPress for Android

Advertisements
Categories: C# Simplistics

WPF: Specified element is already the logical child of another element. Disconnect it first.

Categories: WPF Simplistics