Posted on: 11/5/2014 11:10:05 AM | Views : 521

Hi,
I,m iterating true a loop, to load controls for my form
I've a table that I can only assign if it is in my variable. something like this 
Table subTable; TableRow subTr; if(stringValue == "table") { subTable = new Table(); } if(stringValue == "tr") { subTr = new TableRow(); //Here I need to check if the Table is Assigned //Else I'll get a unassigned error subTable.Rows.Add(subTr); }
does anyone knows how I can check if the subTable is unassigned before I Assign it?

Best regards,
Mark

Go to the complete details ...