コード例 #1
0
        private void FormBase_Loaded(object sender, RoutedEventArgs e)
        {
            IReceiptsQuery receiptsQuery = new MockReceiptsQuery();
            ServiceResult <System.Collections.Generic.IEnumerable <ReceiptViewModel> > result = receiptsQuery.GetList(new ReceiptsQueryInputModel()
            {
                CustomerId = 1
            });

            ReceiptsGrid.ConsumeData(result.Data);
        }
コード例 #2
0
ファイル: Receipts.aspx.cs プロジェクト: prakashdgl/Indico1.0
 private void RebindGrid()
 {
     ReceiptsGrid.DataSource = Receipt;
     ReceiptsGrid.DataBind();
 }