我正在尝试解决我的 HTML 中的表头在后续页面上未正确呈现的问题。有关如何解决此问题的任何想法?
标题
<thead>
<tr>
<th></th>
<th>@Index.LastName</th>
<th>@Index.FirstName</th>
<th>@Index.Contact</th>
<th>@Index.Division</th>
<th>@Index.ClubName</th>
<th>@Index.Position</th>
</tr>
</thead>
那个行动:
public ActionResult PrintResults(UserMemberSearchViewModel model)
{
model.Results = UserMemberSearchTasks.Search(model);
return new PartialViewAsPdf("ResultsPDF", model)
{
FileName = Resources.UserMemberSearch.Index.MemberDetails + ".pdf",
};
}
结果