Sunday

System.Data.StrongTypingException

to fix this exception in strong-type dataset use method IsNull method before reading value to avoid this exception.

in C# it will be like :
if (!logins[0].Isincorrect_attempt_dateNull())
{
 incor_pass_hours_ago = DateTime.Now.Subtract((DateTime)logins[0].incorrect_attempt_date).TotalHours;
}


No comments:

imagemagic add text to image

rem different types of text annotations on existing images rem cyan yellow orange gold rem -gravity SouthWest rem draw text and anno...