How do you guys handle using the same form to input and edit data. I currently check to see if a param has been parsed in the form or querystring and action accordingly. e.g
string id = Request.QueryString.Get("id");
if(id == string.Empty){
//new input
}else{
//get data from database etc
//populate form
}