In this paper duality in a class of nonsmooth B-(p,r)programming problem with equality and inequality constraints is considered.Weak duality,strong duality,converse duality and strict converse duality are researched in Mond Weir dual under strict B-(p,r) invexity of λf+∑mi=1μigi+∑pj=1vjhj.Weak duality and strong duality are researched in Wolf dual under B-(p,r) invexity of f+∑mi=1μigi+∑pj=1vjhj and restricted converse duality and strict converse duality are researched under strict B-(p,r) invexity.Some conrresponding duality theorems are proved without any constraints.Our results generalize and improve some known results.