SqlDataAdapter adp = new SqlDataAdapter("update tbcomp set rptRecieved=" + rptRecieved + " where cstnam=" + cstnam + "", con);
Probably you should wrap the string value in SQL query by ' sign. so your query should be as below to have it properly working.
SqlDataAdapter adp = new SqlDataAdapter("update tbcomp set rptRecieved='" + rptRecieved + "' where cstnam='" + cstnam + "'", con);
Thanks,
Hiren