Exemplo n.º 1
0
        public void PopulateDataGrid()
        {
            TBikeDAL  MyDAL       = new TBikeDAL();
            DataTable ResultTable = MyDAL.ShowAllBookingTable();

            TBIkeUtility.TranslateRecordStatusDescription(new List <string> {
                "BookingStatus"
            }, ref ResultTable);
            //dataGrid1.ItemsSource = ResultTable.DefaultView;
            //dataGrid1.AutoGenerateColumns = false;
            //dataGrid1.CanUserAddRows = false;
        }