Category Archives: Database

Retrieve a null database value into a GUID variable using C#

Guid aca_coc_signature_id = (dtDocument.Rows[0].Field<Guid?>(“aca_coc_signature_id”)); The type decorator “?” makes the Guid nullable. Another approach is: if (dtDocument.Rows[0].IsNull(“aca_coc_signature_id”)) { aca_coc_signature_id = System.Data.SqlClient.Guid.Null; } There are more than 100 types of arthritis. viagra 25 mg offscriptband.com This medicine works wonders only if … Continue reading

Posted in C#, Database, Programming | Leave a comment