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

mikerRank #2,843 · 502 reputationPosted Jul 20, 2004, 9:35 AM EDT
Carlos SanchezRank #6,113 · 276 reputationPosted Jul 20, 2004, 9:43 AM EDT
mikerRank #2,843 · 502 reputationPosted Jul 20, 2004, 9:49 AM EDT
Carlos SanchezRank #6,113 · 276 reputationPosted Jul 20, 2004, 10:58 AM EDT
mikerRank #2,843 · 502 reputationPosted Jul 21, 2004, 4:56 AM EDT
Carlos SanchezRank #6,113 · 276 reputationPosted Jul 21, 2004, 6:07 AM EDT
p.jones132 reputationPosted Jul 21, 2004, 6:23 AM EDT
Carlos SanchezRank #6,113 · 276 reputationPosted Jul 21, 2004, 9:04 AM EDT
mikerRank #2,843 · 502 reputationPosted Jul 21, 2004, 9:22 AM EDT
Carlos SanchezRank #6,113 · 276 reputationPosted Jul 21, 2004, 10:17 AM EDT