At the stage of OnInit, all control objects are performing initialization, if added controls were not initialized at this stage, and even though the postback data contain the values of those controls, you won’t be able to obtain the user inputed values of those controls at later stage. e.g. PageLoad, OnClickHandler method.
In order to [...]

Continue reading about ASP.NET:Get values of dynamically added controls.

admin on November 1st, 2007

/**
 * @author R
 * 1+2+3+4 …. + 99+100 = 5050
 */
public class Main {
    /** Creates a new instance of Main */
    public Main() {} 

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        System.out.println(recursiveAdd(100));
    }

    public [...]

Continue reading about Java simple recursion