Exemplo n.º 1
0
        private void checkAvailablepoint(int EventID, int EventPeriodID)
        {
            BusinessServices.Event objEvent = new BusinessServices.Event();
            DataTable dtEvent = objEvent.CheckAvilableEventpoint(EventID, EventPeriodID, UserContext.UserData.OrgID, UserContext.UserID);

            if (dtEvent.Rows.Count > 0)
            {
                lblavailablepoint.Text      = dtEvent.Rows[0]["Points"].ToString();
                lblavailablepoint.ForeColor = Color.Green;
            }
        }