Exemplo n.º 1
0
 /// <summary>
 /// 在结果中进行查询
 /// </summary>
 private void SelectUserDataFromResult()
 {
     //GetSelectSql();
     try
     {
         Session["UserResultMessageCache"] = UserSystem.SearchFromUserMessageResult((DataView)Session["UserResultMessageCache"], GetSelectSql());
         BindDataGrid(((DataView)Session["UserResultMessageCache"]));
     }
     catch
     {
         SelectUserDataFromDB();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 从数据中查找
 /// </summary>
 private void SelectUserDataFromDB()
 {
     LoadAllUserData();
     Session["UserResultMessageCache"] = UserSystem.SearchFromUserMessageResult((DataView)Session["UserMessageCache"], GetSelectSql());
     BindDataGrid(((DataView)Session["UserResultMessageCache"]));
 }