Insert a null value in a table
How to insert a null value in a Table by parameter. For example:
command.Parameters.Add(@ImageColumn, ****** );
What do I must to write instead of ******* ?
I tried this:
command.Parameters.Add(@ImageColumn, null);
But it throws an exception.
Any idea?
Thanx in advance.
Carlos
Carlos SanchezPosted Jul 21, 2004, 2:17 PM
mikerPosted Jul 21, 2004, 1:22 PM
Carlos SanchezPosted Jul 21, 2004, 1:04 PM
p.jonesPosted Jul 21, 2004, 10:23 AM
Carlos SanchezPosted Jul 21, 2004, 10:07 AM
mikerPosted Jul 21, 2004, 8:56 AM
Carlos SanchezPosted Jul 20, 2004, 2:58 PM
mikerPosted Jul 20, 2004, 1:49 PM
Carlos SanchezPosted Jul 20, 2004, 1:43 PM
mikerPosted Jul 20, 2004, 1:35 PM