Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 639.3k

Getting Data from previous page

Jul 13 2011 1:18 AM
Hi dudes

can any one help me i am trying to get data from listbox previous page and it is not retrived and i am trying in this way... can any one help me..


ListBox  l = (ListBox)PreviousPage.FindControl("ListBox1");
        foreach (ListItem list in l)
        {
            if (list.Selected)
            {
                Response.Write(list.Text);
            }
        }

Answers (2)