コード例 #1
0
    private void LoadPoints()
    {
        var pointPrograms = objOffer.CustomerGroupConditions.IncludeCondition[0].CustomerGroupID == SystemCacheData.GetAnyCustomerGroup().CustomerGroupID ? m_PointsProgram.GetAllowAnyCustomerPointsPrograms(): m_PointsProgram.GetPointsPrograms();
        var data          = from point in pointPrograms select new { ProgramID = point.ProgramID, ProgramName = point.ProgramName };

        PointsJSON          = data.ToJSON();
        lbPoints.DataSource = data;
        lbPoints.DataBind();
    }
コード例 #2
0
 private void GetAllPointsProgram()
 {
     AllPointsProgram = m_PointProgram.GetPointsPrograms();
 }