示例#1
0
 protected void getRightInformation()
 {
     dt = MV.RightsDetails(EMPID);
     if (dt.Rows.Count > 0)
     {
         for (int i = 0; i < dt.Rows.Count; i++)
         {
             if (dt.Rows[i][0].ToString() == "Print Matter List")
             {
                 PrintMatter.Visible = true;
             }
             else if (dt.Rows[i][0].ToString() == "Add Matter")
             {
                 AddMatter.Visible = true;
             }
             else if (dt.Rows[i][0].ToString() == "Close Matter")
             {
                 CloseMatter.Visible = true;
             }
             else if (dt.Rows[i][0].ToString() == "Manage Fallower")
             {
                 ManageFallower.Visible = true;
             }
         }
     }
 }