Forum Discussion
Raymond_Morris_
Jul 27, 2006Nimbostratus
Thanks Joe,
I was able to get around this by by making the changes you suggested, and also changing the loop to identify a new listitem this way:
for(int i=0; i{
lb_nodes.Items.Add(new ListItem(
node_defs[ i ].address + ":" +node_defs[ i ].port,
Convert.ToString(state[ i ])));
}
Now, I am getting erros when compiling that complain of " Cannot convert type 'BigIP1.Node.ITCMCommonIPPortDefinition[]' to 'string' " in this code block (borrowed from another thread in this forum...):
UInt64 build64(BigIP1.Node.ITCMLocalLBNode value)
{
return ((string)value.get_node_server_list()<<32)|(string)value.low;
}
Without using the above block, I get the same error in this line:
Node.ITCMCommonIPPortDefinition [] node_defs = node.get_node_server_list();
I've tried other methods, but get the same type conversion errors.
Thanks,
Ray