private void bindOffShoreGrid()
    {
        VwLatestOffShoreFundPricesCollection vwLatestOffShoreFundPricesCollection =
            new VwLatestOffShoreFundPricesCollection();

        vwLatestOffShoreFundPricesCollection.LoadAll();
        GridViewOffShoreFunds.DataSource = vwLatestOffShoreFundPricesCollection;
        GridViewOffShoreFunds.DataBind();
    }
예제 #2
0
    private void bindGrid()
    {
        VwLatestOffShoreFundPricesCollection vwLatestOffShoreFundPricesCollection =
            new VwLatestOffShoreFundPricesCollection();

        vwLatestOffShoreFundPricesCollection.Query.OrderBy("FundName", esOrderByDirection.Ascending);
        vwLatestOffShoreFundPricesCollection.Query.Load();
        GridViewOffShoreFunds.DataSource = vwLatestOffShoreFundPricesCollection;
        GridViewOffShoreFunds.DataBind();
    }