var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Problem with INSERT INTO
I have a problem with INSERT INTO.
My table has a text column.
Then I pass an empty string as value, the string in the database is '' but not empty. Is this a bug?
INSERT INTO mytable (txt) VALUES (@txt);
An empy string '' and NULL are two different things. If you want to store NULL, you need to explicitly send then:
is something different then
insert into mytable (txt) values (null);
I don't know what "cmd.Parameters.AddWithValue()" is doing, but you need to somehow tell your code to send NULL not an empty string.
insert into mytable values ('');