u should set company primary key too
update query will update which column u specified only
u didn't mentioned the primary key column name to update
("UPDATE t_company SET Company_Id=@Company_Id,Company_Name=@Company_Name where Company_Name=@Company_Name",mycon1)