title: open pdf file C# and asp.net
body: <p>I have some customers in a gridview. When I click on the customers I can get their names in a textbox. There is also a corresponding pdf document which should also be available if the user desires.</p>
  
  <p>My problem is that I need to know who to open a pdf document using C# and asp.net. I have to use a variable name as the name of pdf document, for example when the click on a button "open variable CustomerName.pdf".</p>
  
  <p>I need to open a pdf file in a new window for viewing </p>
  
  <p><strong>thanks</strong>
   this works
   asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/customerUnit/Customer.pdf" Target="_blank">HyperLink
  
  <p>But I want to pass the pdf file as a variable "Customer.pdf" should be "VaribleCustmer.pdf"</p>