title: Converting an empty null integer from datagridview and store into database
body: <p>Hi everyone i have this codes that read a datagridview to database.</p>
  
  <pre><code>cmd.Parameters.AddWithValue("@NxtKinNum", Convert.ToInt32(dataGridView1.Rows[i].Cells[3].Value));
  </code></pre>
  
  <p>The row that was added is empty cell and i tried to add this into the database where the value of this is an integer... How do i set it to store a null into the database or is it not possible to do that? Thanks</p>