protected void Search_InBase(object sender, EventArgs e) { string searchKey = Request.Form["searchKey"]; searchResult = DBModel.sharedDBModel().getInBaseInfoByInBaseId(searchKey); }
protected void Page_Load(object sender, EventArgs e) { theStaff = (staff)Session["Staff"]; searchResult = DBModel.sharedDBModel().getAllinBaseInfoByStaffId(theStaff.staffId); System.Diagnostics.Debug.WriteLine("searchResult Length:" + searchResult.Length); }