feretoolbox.blogg.se

Desc of table in razorsql
Desc of table in razorsql










desc of table in razorsql desc of table in razorsql

I get this error The model item passed into the dictionary is of type '', but this dictionary requires a model item of type '`1'. Store += "" + orders.CustomerOrderId + "" + orders.FirstName + "" + orders.ProductId + "" + orders.Name + "" + orders.Price + "" ĮDIT: When I change the return to rerturn View(orders) Orders.CustomerOrderId = reader.GetInt32(0) SqlDataReader reader = cmd.ExecuteReader() INNER JOIN Customer c ON c.Id = co.CustomerId INNER JOIN Product p ON p.Id = o.ProductId INNER JOIN CustomerOrder co ON co.id = o.CustomerOrderId SqlCommand cmd = new CustomerOrderId, FirstName ,ProductId,, Price Public class OrderController : Controller This what I currently have for my controller. I know my query is working fine and my data is being retrieved fine but I am stumped on displaying it

desc of table in razorsql

With my data in it but I don't know how to display it properly. As ASE supports access to multiple databases that are associated with a particular master database, ASE supports 3-part table identifiers of the form and 4-part column identifiers of theform. the problem is when I go to orders/getAllOrders I just get a big error that says "the view" then a bunch of 2Javier1Groovestring3.950000etc. So I am trying to display all of the orders from my database into a table without using the Entity Framework. Sorry if the question isn't worded well but I am very confused and it is very late but I will do my best to explain.












Desc of table in razorsql