I am in a pretty unique situation. You can say I'm being paid to go to school. I'll be more forward. I got a job as a developer, without actually being a developer. They are taking a chance on teaching me how to do this as opposed to me accruing debt with the possibility of failure. The only consequence here is failure. I can live with that.
Right now I am making a simple form. It's a returns form for users here to fill out based on information customers give them.
Here is my class.
namespace LVS.Models
{
public class ItemReturn
{
[DisplayName("Customer:")]
public string custName { get; set; }
[DisplayName("Phone #:")]
public string phoneNumber { get; set; }
[DisplayName("Company:")]
public string company { get; set; }
[DisplayName("Invoice Number/Web order #:")]
public int invoiceWebOrder { get; set; }
[DisplayName("Shipping Date:")]
public DateTime shipDate { get; set; }
[DisplayName("Ship Method:")]
public string shipMethod { get; set; }
[DisplayName("Tracking Number:")]
public string trackNumber { get; set; }
[DisplayName("Reason Code")]
public int reasonCode { get; set; }
[DisplayName("Details: Include quantity, expiration dates, lot numbers of product(s), and images if available")]
public string detailBox { get; set; }
}
}
Here is what is in my controller.
public ActionResult Index()
{
var model = new ItemReturn();
return View(model);
}
So when I run, it brings up a pretty nice looking form. It's great, but it's not all I must accomplish. I need to get words around these boxes, and I just plum don't know the terminology I am looking for. There are times when the people who mentor me are just not here, so I'm left on my own to figure things out, as I have these things here. What I would like to know is how do I get the filler text that is in between these boxes in where they are supposed to be. I've gone into the view and edited it in, but ALL OF THAT just appears below the data fields/text boxes. that's not going to work, and google isn't being very friendly with me today. I appreciate any advice I can get, and I'm sorry for my lack of professional terminology.
Howdy, I noticed someone has already down voted this without providing me any information. I am trying to learn here. I have tons of browser windows open covering a plethora of different things that I've been cramming into my head all day. I'm going to take an excerpt from below the solution window in plea for you to stop being rude. "We're here to help developers along their way, not to make them feel stupid." Down voting without providing context is incredibly rude and pointless.
BTW... I am not looking for a solution, I'm looking for directional guidance. I would like to at least have key words, some sort of hint to get me where I need to go, I do not like being solved. It takes away the work and joy of learning. I thank all who help.