is _DestVtCode a string or an int? Int's can't be null so that's why I'm asking, it's a little confusing in your question.
If it's a string, then everywhere in your linq query that you have _DestVtCode, replace it with:
_DestVtCode && ""
that way if _DestVTCode is null it will use "" instead
Main Topics
Browse All Topics





by: djjariesPosted on 2009-10-23 at 07:08:11ID: 25644571
Select allOpen in new window