Solved

String.IsNullOrEmpty in asp.net vb,net question

Posted on 2016-09-17
1
43 Views
Last Modified: 2016-09-17
this is what im trying to do:

If Not String.IsNullOrEmpty(Name) OrElse Not String.IsNullOrEmpty(Email) Then

End if

But on the second one -----------> String.IsNullOrEmpty(Email)

I get an error:

500 Internal Server ErrorObject reference not set to an instance of an object.

why is that,

Thanks guys
0
Comment
Question by:Tony Trapp
1 Comment
 

Accepted Solution

by:
Tony Trapp earned 0 total points
ID: 41803493
never mind guys i figured it out
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now