Skip to content

Commit e6b55d9

Browse files
Update OrderData.cs
1 parent 31fcdd0 commit e6b55d9

File tree

1 file changed

+1
-1
lines changed
  • Binding MS SQL database using CustomAdaptor/Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL/Data

1 file changed

+1
-1
lines changed

Binding MS SQL database using CustomAdaptor/Blazor Web app/Grid_MSSQL/Grid_MSSQL/Grid_MSSQL/Data/OrderData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task<List<Order>> GetOrdersAsync()
2121
Connection.Open();
2222
// Using SqlDataAdapter, process the query string and fill the data into the dataset
2323
Adapter.Fill(Data);
24-
//Cast the data fetched from Adaptor to List<T>
24+
//Cast the data fetched from Adapter to List<T>
2525
Orders = Data.Tables[0].AsEnumerable().Select(r => new Order
2626
{
2727
OrderID = r.Field<int>("OrderID"),

0 commit comments

Comments
 (0)