예제 #1
0
 private void GetAllSVPrograms()
 {
     AllSVPrograms = m_StoredValueProgram.GetStoredValuePrograms();
 }
예제 #2
0
    private void LoadSV()
    {
        var svPrograms = objOffer.CustomerGroupConditions.IncludeCondition[0].CustomerGroupID == SystemCacheData.GetAnyCustomerGroup().CustomerGroupID ? m_SVProgram.GetStoredValueAllowAnyCustomerPrograms(false):m_SVProgram.GetStoredValuePrograms();
        var data       = from sv in svPrograms select new { SVProgramID = sv.SVProgramID, ProgramName = sv.ProgramName };

        StoredValueJSON = data.ToJSON();
        lbSV.DataSource = data;
        lbSV.DataBind();
    }