Example #1
0
 protected void clickmig(object sender, System.EventArgs e)
 {
     Movie dims = new Movie();
     dims.fillObjectFromPlaceHolder(placeholder1);
     placeholder1.Controls.Clear();
     dims.createPlaceHolderTable(placeholder1);
     //dims.(placeholder1);
     dims.update();
 }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            /*
            if (Page.IsPostBack == false) {

                if (!LoginHelper.redirectByAuthenticated("admin")) {
                    //Environment.Exit(0);
                    Content2 = null;
                }

            }
            */
                //Movie stuff = new Movie();
                //stuff.getSchema();
                //stuff.id = 2;
                //stuff.getSchema();
                //stuff.get();
                //stuff._dbData["moid"] = "abc";
                /*var movies = stuff.getAll ();
                movies[2].createPlaceHolderTable(placeholder1);
                movies[1].createPlaceHolderTable(placeholder1);
                */
                //stuff.createPlaceHolderTable(placeholder1);

                /*People dims = new People();
                dims.id = 1;
                dims.get();
                dims.createPlaceHolderTable(placeholder1);*/

                //stuff.createPlaceHolderTable(placeholder1);

                //stuff._dbData["title"] = "en ny titel";
                //stuff.update();

                Movie filmA = new Movie();
                filmA.id = 1;
                filmA.get();

                //Movie filmB = new Movie();
                //filmB.id = 2;
                //filmB.get();

                filmA.createPlaceHolderTable(placeholder1);
                //filmB.createPlaceHolderTable(placeholder1);

                /*

                filmA.createPlaceHolderTable(placeholder1);
                //personA.createPlaceHolderTable(placeholder1);
                filmB.createPlaceHolderTable(placeholder1);*/
        }