File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Binding MS SQL database using CustomAdaptor/Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL/Components/Pages
Binding MS SQL database using UrlAdaptor
Blazor WASM app/Grid_MSSQL/Grid_MSSQL/Pages
Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL.Client/Pages Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4242 </GridAggregate >
4343 </GridAggregates >
4444 <GridColumns >
45- <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" IsIdentity =" true" IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
46- <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" Width =" 150" ></GridColumn >
45+ <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" ValidationRules = " @(new ValidationRules{ Required= true }) " IsIdentity =" true" IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
46+ <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" ValidationRules = " @(new ValidationRules{ Required= true, MinLength = 3 }) " Width =" 150" ></GridColumn >
4747 <GridColumn Field =@nameof(Order.EmployeeID) HeaderText =" Employee ID" TextAlign =" TextAlign.Right" Width =" 150" ></GridColumn >
4848 <GridColumn Field =@nameof(Order.Freight) HeaderText =" Freight" TextAlign =" TextAlign.Right" Format =" C2" Width =" 150" ></GridColumn >
4949 <GridColumn Field =@nameof(Order.ShipCity) HeaderText =" Ship City" Width =" 150" ></GridColumn >
Original file line number Diff line number Diff line change 3737 </GridAggregate >
3838 </GridAggregates >
3939 <GridColumns >
40- <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" IsIdentity =" true" IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
41- <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" Width =" 150" ></GridColumn >
40+ <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" IsIdentity =" true" ValidationRules = " @(new ValidationRules{ Required= true }) " IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
41+ <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" ValidationRules = " @(new ValidationRules{ Required= true, MinLength = 3 }) " Width =" 150" ></GridColumn >
4242 <GridColumn Field =@nameof(Order.EmployeeID) HeaderText =" Employee ID" TextAlign =" TextAlign.Right" Width =" 150" ></GridColumn >
4343 <GridColumn Field =@nameof(Order.Freight) HeaderText =" Freight" TextAlign =" TextAlign.Right" Format =" C2" Width =" 150" ></GridColumn >
4444 <GridColumn Field =@nameof(Order.ShipCity) HeaderText =" Ship City" Width =" 150" ></GridColumn >
Original file line number Diff line number Diff line change 3939 </GridAggregate >
4040 </GridAggregates >
4141 <GridColumns >
42- <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" IsIdentity =" true" IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
43- <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" Width =" 150" ></GridColumn >
42+ <GridColumn Field =@nameof(Order.OrderID) HeaderText =" Order ID" IsIdentity =" true" ValidationRules = " @(new ValidationRules{ Required= true }) " IsPrimaryKey =" true" TextAlign =" TextAlign.Right" Width =" 120" ></GridColumn >
43+ <GridColumn Field =@nameof(Order.CustomerID) HeaderText =" Customer Name" ValidationRules = " @(new ValidationRules{ Required= true, MinLength = 3 }) " Width =" 150" ></GridColumn >
4444 <GridColumn Field =@nameof(Order.EmployeeID) HeaderText =" Employee ID" TextAlign =" TextAlign.Right" Width =" 150" ></GridColumn >
4545 <GridColumn Field =@nameof(Order.Freight) HeaderText =" Freight" TextAlign =" TextAlign.Right" Format =" C2" Width =" 150" ></GridColumn >
4646 <GridColumn Field =@nameof(Order.ShipCity) HeaderText =" Ship City" Width =" 150" ></GridColumn >
You can’t perform that action at this time.
0 commit comments