예제 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //userName = (String)(Session["username"]);
        string[]  sl     = (string[])(Session["SearchInput"]);
        Searching search = new Searching();

        //This will take the list of search arguments the user made and generate a list of results that match the search
        search.Search(sl[0], sl[1], sl[2], sl[3], sl[4], sl[5], sl[6], sl[7]);

        //resultList will be the list of results displayed on the page
        resultList = search.ReturnResults();

        CreateResultTable(resultList, resultList.Count());

        FillRows(resultList, resultList.Count());

        //resultsGrid.Rows[1].Cells[3].Text = "hello";
    }