Forum Discussion
Ray_Morris_7896
Aug 03, 2006Nimbostratus
Thanks Joe,
I should have mentioned that I'm using C (your code looks a bit foreign...)
I was able to use your suggestion and come up with this piece (which is nested inside another loop):
Pool.ITCMLocalLBPoolMemberStatisticsEntry [] memstats = LocalLBPool.get_all_member_statistics(pool_name);
for(int j=0; j{
string memAddr = memstats[j].member_definition.address;
trow = new TableRow();
tcell = new TableCell();
tcell.Controls.Add(new LiteralControl(memAddr.ToString()));
trow.Cells.Add(tcell);
Table1.Rows.Add(trow);
}
This code will compile without error, but when I call it in the browser, I get an error that the "Object reference not set to an instance of an object." Any suggestions?
I'm much closer than I was. Thanks for your help.