have a question about the design of the form that is automatically
generated. Can I modify the CSS behind and where ? the problem is
maybe easy but I am beginner so be comprehensive :)
You Modifiy the CSS just like a normal website. By default this is in your Content folder labeled 'Site.css'
The second part of the question is too broad to answer well. Please update the question with methods you have tried and some code.
Partial views enables you to define a view that will be rendered inside a parent view. After the site is rendered they become one HTML. Just a way for you to separate and reuse your view.
The pseudo idea would you to
- Retrieve records
var matchingRecords = Records.Where(x => x.ClientID == ClientID
)
- Store records to a viewModel
var viewModel = new yourViewModel{Records = matchingRecords}
- Pass your viewModel to your view
- Have your partial view also inherit that viewModel (or interface of viewModel with records) and have it loop over said records and do what you need
Again this is very broad because your question is broad. In general it is best to supply code with your question and be specific. Also show what you have tried.