Ask a Question related to ASP.NET General, Design and Development.
-
Kathy Burke #1
NullReferenceException...hitting them all today...on XmlNode return
Hi again,
I've solved my previous posting (which I'll comment in when it appears)
-- I had a [ in the wrong place...sorry!
However, now that my nodeset problem is resolved, I receive an error on
the following line: "Object reference not set to an instance of an
object". I'm searching for clues but there appears to be many reasons
for this error, and hoping that an experienced eye can quickly tell me
what I've missed.
Dim n As xmlNode = xDoc("xpath")
If n.value Is Nothing
'do this...
I'm also put in "Dim test As String = n.Value" but get the same error.
NullReferenceException?
I can not find any similar info on how to handle the null return
node/set?
Any enlightenment welcome.
Thanks, thanks, thank,
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
nullreferenceexception
I'm having a hard time debugging a nullreferenceexception in my datagrid -- the exception occurs in 'System' .. so its hard to debug.. i can't... -
Preventing a form submitting by hitting return/enter
I'm working on a form that includes asp:textbox and asp:radiobuttonlist items. When the page is rendered in a browser and the focus is on one of... -
This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!
I know a few have already done this on the list but I have read articles on Zend tried other functions done everything I can, de-bugged till I'm... -
[PHP] This is my fourth day of hitting this brick wall! Anyone...Purleeeeese help!
The simple things are the stupidest. One thing I didn't do well enough. Testing on different machines. I ran numerous tests from my own PC and... -
PROBLEM: webservice, XmlNode return value, XMLSchema and WSDL
Is there a way to make the following: 1. we have a webmethod, that should return an xml document that is valid respect an XmlSchema. 2. the web...



Reply With Quote

