I am reading data table and trying to insert开发者_高级运维 into database. Now, I have few rows/cell whose is null or empty.
I want to insert those row properly into database.
Can anyone help me out or provide me simple program.
Thanks, Rushabh Shah.
Just set any value you want to be "blank" to DBNull.Value
, which "Represents a nonexistent value".
精彩评论