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!

Permalink Leave a Comment

highlighted dataGridRow Event

July 18, 2008 at 6:15 am (Achievement) (, , , )

in order for my program to print specific records in regards to a datagridview record, i need to know when the user actually highlight a record and click the print button..

i developed this method:

Permalink Leave a Comment