Null problem????

H

Helixpoint

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.Value = dr.GetInt32(0)

allContactList.Items.Add(lstAddItem)

End While



--

______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
(e-mail address removed)

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
(e-mail address removed)
______________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top