如果datacolchanging事件,改成 e.newvalue
cmd.CommandText ="Select Count(*) Fro m {销项fa piao} Where fa piao号码 = '" & e.NewValue & "'"