Note that there are some explanatory texts on larger screens.

plurals
  1. USSkye MacMaster
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. CORight. It makes the page best for IE7 by telling newer versions of IE to use it's older less standards compliant rules for interpreting CSS. In any case, I still need a way to get the highlight to show in IE, Firefox, and Chrome.
      singulars
    2. COThanks. That snippet would be shorter if I had used IsNullOfWhitespace(). Howevever, I would still need to have an if/else later to check for null or this line 'command.Parameters.Add(new SqlParameter("@Description", contract.Description));' would throw an exception is description was null. The way I have it would be 1 line shorter. Also, this a pattern I used in regular ASP.NET to pass 'cleaned up' values back to the user if validation fails. However, since MVC seems to want to use what the user last entered instead of what's in the model I'm not sure how I'll get that to work.
      singulars
    3. COHmm, TextArea and TextAreaFor seem to do the same thing. However, I like the TextAreaFor better since it's strongly type. I think that's the purpose of the *For functions. I think I'll use them more from now on. Although this doesn't really answer my question. I'm guessing the reason my example above works as it does is the TextBox functions do different things based on if the current http method is HttpPost or HttpGet. If it's HttpGet it uses the value from my model and if HttpPost it uses what the user last entered. I guess I was looking for confirmation of this.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload