Null problem????

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Helixpoint

    #1

    Null problem????

    What can I do if the field in the database is null? It gives me an error on
    :

    lstAddItem.Text = dr.GetString(1)

    While dr.Read()

    Dim lstAddItem As New ListItem()

    lstAddItem.Text = dr.GetString(1)

    lstAddItem.Valu e = dr.GetInt32(0)

    allContactList. Items.Add(lstAd dItem)

    End While



    --

    _______________ _______
    David Fetrow
    HelixPoint LLC.
    http://www.helixpoint.com
    davef@helixpoin t.com

    Interested in Affordable Email Marketing?
    Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
    If you are interested in becoming a Reseller of HelixPoint products, contact
    davef@helixpoin t.com
    _______________ _______


Working...