Showing posts with label Errors. Show all posts
Showing posts with label Errors. Show all posts

Friday, May 13, 2011

HTML-code

Recently I began experience some difficulties to insert "raw" HTML code in blogger-window. The problem was that HTML code did not show up under browser as HTML code because all tags were executed. I still want to show some code in my blog. Therefore I searched Internet for the answer. And I found very easy and appropriate solution: replace all "<"-signs to and all ">"-signs on

I tested and it works. Now I can insert some "raw" code. Thanks Mr.Internet for a good tip.

Tuesday, May 10, 2011

Error:


Error Message: "Cannot insert the value NULL into column; column does not allow nulls"

The code, I have written, tries to insert NULL into column, which does not allow nulls, and column is a primary key one.
Solution:
- set up "Data type" as "int" for the column
- set up Identity Specification to Yes (see image)
- test the code