private void bindOffShoreGrid() { VwLatestOffShoreFundPricesCollection vwLatestOffShoreFundPricesCollection = new VwLatestOffShoreFundPricesCollection(); vwLatestOffShoreFundPricesCollection.LoadAll(); GridViewOffShoreFunds.DataSource = vwLatestOffShoreFundPricesCollection; GridViewOffShoreFunds.DataBind(); }
private void bindGrid() { VwLatestOffShoreFundPricesCollection vwLatestOffShoreFundPricesCollection = new VwLatestOffShoreFundPricesCollection(); vwLatestOffShoreFundPricesCollection.Query.OrderBy("FundName", esOrderByDirection.Ascending); vwLatestOffShoreFundPricesCollection.Query.Load(); GridViewOffShoreFunds.DataSource = vwLatestOffShoreFundPricesCollection; GridViewOffShoreFunds.DataBind(); }