DBNULL type to STRING ERROR!!!!

July 18, 2008 at 6:22 am (Achievement, Limits, Obstacles) (, , , , )

As i fill my datagridview, i select an empty row and try to print… then i get some crazy error message, and program crashes…. all because of an empty cell issue, where vb cant recognise it!!

But after soem research, found that to compare if a record or cell is empty, a special code made just for this “DBNull.value” is what  i need to check!!! omg, saved my life from disaster errors!

Post a Comment