Fred CleanUp Part 1
This commit is contained in:
parent
9ae15ba456
commit
aeb3723ce8
@ -34,6 +34,7 @@ Change the AttachDbFile name to the full path of the BrainWare.mdf file (located
|
|||||||
|
|
||||||
### Visual Studio
|
### Visual Studio
|
||||||
- Open solution BrainWare\BrainWare.sln
|
- Open solution BrainWare\BrainWare.sln
|
||||||
|
- Update the database connection string in file Web\Infrastructure\Database.cs
|
||||||
- Set the project Web, as the start up project
|
- Set the project Web, as the start up project
|
||||||
- Press F5
|
- Press F5
|
||||||
- Expected a browser is open with the result of the first order
|
- Expected a browser is open with the result of the first order
|
||||||
|
@ -29,7 +29,7 @@ namespace Web.Infrastructure
|
|||||||
|
|
||||||
values.Add(new Order()
|
values.Add(new Order()
|
||||||
{
|
{
|
||||||
CompanyName = record1.GetString(0),
|
CompanyName = record1["name"].ToString(),
|
||||||
Description = record1.GetString(1),
|
Description = record1.GetString(1),
|
||||||
OrderId = record1.GetInt32(2),
|
OrderId = record1.GetInt32(2),
|
||||||
OrderProducts = new List<OrderProduct>()
|
OrderProducts = new List<OrderProduct>()
|
||||||
|
Loading…
Reference in New Issue
Block a user