Exemple #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";
            }
        }
        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";
            }
        }
 public void LoadEmployees()
 {
     CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
     gvEmployees.DataSource = CSMSService.AdminViewAccount();
     gvEmployees.DataBind();
 }
 public void LoadEmployees()
 {
     CSMSService.CSMSWebservice CSMSService = new CSMSService.CSMSWebservice();
     gvEmployees.DataSource = CSMSService.AdminViewAccount();
     gvEmployees.DataBind();
 }