public string view(string uniqueID) { string html = string.Empty; try { var RS = new ResidencySurveyModel(); var CL = new commonLogic(); RS.where = " WHERE unique_id = '" + uniqueID + "'"; CL.dataTable = RS.select(); CL.pageType = "summary"; html = CL.ViewHtml(); } catch (Exception e) { return(html); } return(html); }