Code behind in controller
is_credit = Convert.ToBoolean(dr[14].ToString()),
and
is_credit = bool.Parse(dr["is_credit"].ToString()),
i'm using above two statements...It runs at local system but not working in server system after uploading file it shows an error "string was not recognized as a valid boolean"