I am trying to do this line of code:
txtBxMessageBod y.Text = ".\\ " + treeView1.Selec tedNode.Tag.ToS tring();
I am getting an error back. It is something pretty simple but I can't
figure it out.
The error is: System.NullRefe renceException: Object reference not set to an
instance of an object at myMethod
This is the only line of code in the method and when I only add a string to
the .Text value it runs fine.
Any ideas?
txtBxMessageBod y.Text = ".\\ " + treeView1.Selec tedNode.Tag.ToS tring();
I am getting an error back. It is something pretty simple but I can't
figure it out.
The error is: System.NullRefe renceException: Object reference not set to an
instance of an object at myMethod
This is the only line of code in the method and when I only add a string to
the .Text value it runs fine.
Any ideas?
Comment