namespace: this unknown !!

I

IvanDaBologna

I am designing a form with a table and in cells a put in them some
textboxes.
I name them txtName, txtSurname,....
I cannot refer at this controls in VisualBasic code. I am trying with :

Dim strName
strName = XDocument.DOM.selectSingleNode ("/my:myFields/my:txtName").text

but i receive an error message like
XDocument.DOM.selectSingleNode (...)
object needed

( my message is in italian version,sry!)

Can anyone explain what namespace i must reference ? ( i am confusing a lot)

IvanDaBologna
 
I

IvanDaBologna

solved !

I mistake in the namespaces declaration in the VB code. Now i have correct
this 'gap' and my names are 'magically' back!

IvanDaBologna
 

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

Top