Generation

generate functionSun, 04 Dec 2022

Create DataGrid from database named atm with Customers with fields Name, CustomerID and Accounts having field CustomerID, Type, Amount, Account Number

var dataGrid = new DataGrid(); dataGrid.setSource( from c in Customers from a in Accounts.Where(x => x.CustomerID == c.CustomerID) select new {c.Name, a.Type, a.Amount, a.AccountNumber} );

Want to kickstart your project?Use the new AI Studio to create your code