quotes in vb.net links

I want to make a link from what the user filepath that is given from an openfiledialog. But I can't get all the quotes in the right places

   DOCTextBox.Text = "<a href=" & OpenFileDialog1.FileName &  "target=_"blank">" & TitleTextBox.Text & "</a>"


DOCTextBox.Text = "<a href=""" & OpenFileDialog1.FileName & """ target=_""blank"">" & TitleTextBox.Text & "</a>"

In order to put a " in a VB.Net string literal, you need to write "".

For example:

   "<a href=""" & HttpUtility.HtmlAttributeEncode(OpenFileDialog1.FileName) _
 & """target=_""blank"">" & HttpUtility.HtmlEncode(TitleTextBox.Text) & "</a>"

Need Your Help

Javascript Questions issues

javascript dom

Hey guys so Im making a customer name textfield and have these requirements.

copy data from db to excel if db name is taken from user?

excel excel-vba

I am making some macro and taking date and db from the user. On that basis i am fetching the data from db.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.