Results 1 to 2 of 2

Thread: date time picker

Threaded View

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    date time picker

    is there way to keep my dtp control blank if the data in the database is DB.NULL?...something like this.


    VB Code:
    1. If objDR("cancelled_date") Is DBNull.Value Then
    2.                     dp2.Value = "  "
    3.                 Else
    4.                     dp2.Value = objDR("cancelled_date")
    5.                 End If
    Last edited by EyeTalion; Apr 21st, 2004 at 10:37 AM.
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width