Solved

String.IsNullOrEmpty in asp.net vb,net question

Posted on 2016-09-17
1
48 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

803 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