G
gordon
Hi
I am trying to get the selection from a tree view with a child node to be
written to the value of a label.
I am using...
private void btnShow_Click(object sender, System.EventArgs e)
{
lblShow=tvSelection.SelectedNode.ToString();
}
but am getting an error - Cannot implicitly convert type 'string' to
System.Windows.Forms.Label
the treeview has two parents and several child nodes (all at the immediate
child level).
thanks
I am trying to get the selection from a tree view with a child node to be
written to the value of a label.
I am using...
private void btnShow_Click(object sender, System.EventArgs e)
{
lblShow=tvSelection.SelectedNode.ToString();
}
but am getting an error - Cannot implicitly convert type 'string' to
System.Windows.Forms.Label
the treeview has two parents and several child nodes (all at the immediate
child level).
thanks