DBNULL type to STRING ERROR!!!!
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!
highlighted dataGridRow Event
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:
Print into practise!
after reading and researching how to print in vb.net 2005 i have the ability to do such a thing. althought a problem was i still can not print a whole form, yet i am able to print text and images from an image box!
Printing Concept
throughout my objectives, i continually mention that users will have the ability to print records and forms, yet i have only had expirience in printing with vb6, not vb.net 2005… the printing component in vb.net is different, something i am not familliar with yet, hence printing will be harder than i thought…
i am going through this tutorial so i can get a background and understanding to printing in vb.net
http://visualbasic.about.com/od/usingvbnet/a/printvb2005.htm


