i created registration table in sqlserver and mention primary key for username.im able to insert records from front-end.but,while im refreshing(F5) the im getting sqlexception like "Primary Key Violation Exception".
Cane someone help me on this exception.

Riddhi ValechaRank #794 · 2.9K reputationPosted May 23, 2013, 9:04 PM EDT
Send the code..... I will debug it out....
Its SQL SERVER Primary Key Exception... Either the value is repeating or you are trying to insert a null value.