protected override void OnPreRender(EventArgs e)
 {
     if (IsPostBack)
     {
         if (PeopleInMovie1.gridPeopleInMovie.SelectedIndex > -1)
         {
             GetPersonInfo(PeopleInMovie1.gridPeopleInMovie.SelectedRow.Cells[(int)PeopleInMovie1.FirstName].Text,
                           PeopleInMovie1.gridPeopleInMovie.SelectedRow.Cells[(int)PeopleInMovie1.LastName].Text);
             PeopleInMovie1.SetLabelText("Writer's Full Information");
         }
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PeopleInMovie1.SetLabelText("Writer(s) in " + "\"" + Request.QueryString["movieTitle"] + "\"" + " Movie");
            }
            switch (Request.QueryString["selector"])
            {
            case "writersInMovie":
                WritersInMovieHandler();
                break;

            case "writerFoundByName":
                PeopleInMovie1.SetLabelText("Writer's Full Information");
                WriterFoundByNameHandler();
                break;
            }
        }