コード例 #1
0
        public void LoadAccounts()
        {
            CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
            grvAccount.DataSource = CSMSService.AdminViewAccount();
            grvAccount.DataBind();

            for (int i = 0; i < grvAccount.Rows.Count; i++)
            {
                grvAccount.Rows[i].Cells[15].Text = grvAccount.Rows[i].Cells[15].Text.Trim().ToUpper() == "TRUE" ? "Available" : "Not Available";
            }
        }
コード例 #2
0
        public void LoadAccounts()
        {
            CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
            grvAccount.DataSource = CSMSService.AdminViewAccount();
            grvAccount.DataBind();

            for (int i = 0; i < grvAccount.Rows.Count; i++)
            {
                grvAccount.Rows[i].Cells[15].Text = grvAccount.Rows[i].Cells[15].Text.Trim().ToUpper() == "TRUE" ? "Available" : "Not Available";
            }
        }
コード例 #3
0
 public void LoadEmployees()
 {
     CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
     gvEmployees.DataSource = CSMSService.AdminViewAccount();
     gvEmployees.DataBind();
 }
コード例 #4
0
 public void LoadEmployees()
 {
     CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
     gvEmployees.DataSource = CSMSService.AdminViewAccount();
     gvEmployees.DataBind();
 }