Guest User

Untitled

a guest
Dec 17th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. If String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then
  2. stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
  3. End If
  4.  
  5. If Not ediTransactionRow.Ispay_id1Null Then
  6. 'Do processing here'
  7. End If
  8.  
  9. Public Property pay_Id1 Then
  10. Get
  11. return DirectCast(me.GetValue("pay_Id1", short)
  12. End Get
  13. 'Abbreaviated for clarity'
  14. End Property
  15.  
  16. If editTransactionRow.pay_id IsNot Nothing Then
  17. stTransactionPaymentID = editTransactionRow.pay_id
  18. End If
  19.  
  20. If editTransactionRow.pay_id <> DbNull.Value Then
  21. ...
  22. End If
  23.  
  24. If String.IsNullOrEmpty(editTransactionRow.pay_id) = False Then
  25. stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
  26. End If
  27.  
  28. If editTransactionRow.pay_id IsNot Nothing Then
  29. stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
  30. End If
  31.  
  32. If Not IsDBNull(editTransactionRow.pay_id) Then
  33. ...
  34.  
  35. IF Not IsDBNull(dr(0)) Then
  36. use dr(0)
  37. End IF
  38.  
  39. If Not editTransactionRow.pay_id Is Nothing
  40.  
  41. If String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then
  42. stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
  43. End If
  44.  
  45. If Not editTransactionRow.pay_id AndAlso String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then
  46. stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
  47. End If
  48.  
  49. If Short.TryParse(editTransactionRow.pay_id, New Short) Then editTransactionRow.pay_id.ToString()
Add Comment
Please, Sign In to add comment