PRG:What is the PRG Pattern ? PRG stands for "Post/Redirect/Get" Instead of returning an HTML page directly, The POST operation returns a redirection command (using the HTTP 303 response code (sometimes 302) together with the HTTP "Location" response header), Instructing the browser to load a different page using an HTTP GET request The result page can then safely be bookmarked or reloaded without unexpected side effects
if not exists(select col1 from table1 where col1=@col1) begin insert into table1(col1)values(@col1) end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)