What operation are you doing on the table tblTempOnlineFWCompany - Insert or Update.
The error would come when you insert a duplicate record to the table, that is, the table already has a record by the primary key you are inserting.
In that case, you would have the Primary Constraint violation error. A good technique would be to check the presence of your record by primary key and then insert the record if the record is not availab;e. If the record is already available in the table, you can
update the record instead of
insert
Cheers
Shasur
http://www.dotnetdud.blogspot.com