Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

value is null to insert in c#

PreparedCommand += "( " + info[0] + ",'" + info[1] + "'," + (item2.Value == null ? "'NULL'" : "'"+item2.Value+"'") + "),";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #null #insert
ADD COMMENT
Topic
Name
8+2 =