private string cat_ngay_thang(Object ip_obj_dat) { if(ip_obj_dat == DBNull.Value) { return ""; } DateTime v_dat = (DateTime)ip_obj_dat; return v_dat.Date.ToShortDateString(); }