@mnlatam
Using Regex
Flag = String.IsNullOrEmpty(AccNum)
Note : please import System.Text.RegularExpressions