MyInstance.aspx.cs
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Collections;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Web;
  7. using System.Web.SessionState;
  8. using System.Web.UI;
  9. using System.Web.UI.WebControls;
  10. using System.Web.UI.HtmlControls;
  11. namespace OThinker.H3.Portal
  12. {
  13. /// <summary>
  14. /// Summary description for MyInstance.
  15. /// </summary>
  16. public partial class MyInstance : PortalPage
  17. {
  18. private OThinker.H3.Instance.InstanceState State
  19. {
  20. get
  21. {
  22. string state = System.Web.HttpUtility.UrlDecode(this.Request.QueryString[Param_State]);
  23. return OThinker.H3.Instance.InstanceStateConvertor.ToState(state);
  24. }
  25. }
  26.         protected void Page_Load(object sender, System.EventArgs e)
  27.         {
  28.             System.Data.DataTable table = Query.QueryInstance(
  29.                             null,
  30.                             new string[] { this.UserValidator.UserID },
  31.                             null,
  32.                             OThinker.H3.Instance.InstanceContext.UnspecifiedID,
  33.                             this.State,
  34.                             null,
  35.                             null,
  36.                             OThinker.H3.WorkflowTemplate.WorkflowTemplate.NullWorkflowVersion,
  37.                             System.DateTime.MinValue,
  38.                             System.DateTime.MaxValue,
  39.                             null,
  40.                             OThinker.H3.Instance.PriorityType.Unspecified,
  41.                             OThinker.Data.BoolMatchValue.Unspecified,
  42.                             OThinker.Data.BoolMatchValue.Unspecified);
  43.             this.InstanceGridView.BindDataGrid(table);
  44.         }
  45. #region Web Form Designer generated code
  46. override protected void OnInit(EventArgs e)
  47. {
  48. //
  49. // CODEGEN: This call is required by the ASP.NET Web Form Designer.
  50. //
  51. InitializeComponent();
  52. base.OnInit(e);
  53. }
  54. /// <summary>
  55. /// Required method for Designer support - do not modify
  56. /// the contents of this method with the code editor.
  57. /// </summary>
  58. private void InitializeComponent()
  59. {    
  60. }
  61. #endregion
  62. }
  63. }