X
xianxian chan
Hi everyone,
what is the syntax for NULL if u guys know of any..
Cache.Add("ProductsTable", s, null, DateTime.Now.AddSeconds(60),
TimeSpan.Zero, CacheItemPriority.High, null)
i tried writing the code like this but when i put my mouse pointer over
the blue curly underline on the word "null", it says:-
'null' is not declared. 'Null' constant is no longer supported; use
'System.DBNull' instead.
Then, when i replace the word "null" with 'System.DBNull',
it says 'DBNull' is a type in 'System' and cannot be used as an
expression.
So what am i supposed to use for a NULL object?
what is the syntax for NULL if u guys know of any..
Cache.Add("ProductsTable", s, null, DateTime.Now.AddSeconds(60),
TimeSpan.Zero, CacheItemPriority.High, null)
i tried writing the code like this but when i put my mouse pointer over
the blue curly underline on the word "null", it says:-
'null' is not declared. 'Null' constant is no longer supported; use
'System.DBNull' instead.
Then, when i replace the word "null" with 'System.DBNull',
it says 'DBNull' is a type in 'System' and cannot be used as an
expression.
So what am i supposed to use for a NULL object?