Check out example codes for "value is null to insert in c#". It will help you in understanding the concepts better.

Code Example 1

PreparedCommand += "( " + info[0] + ",'" + info[1] + "'," + (item2.Value == null ? "'NULL'" : "'"+item2.Value+"'") + "),";

Learn ReactJs, React Native from akashmittal.com