title: How to fetch Email Address in a API Link from SQL Database?
body: <pre><code>        Try
  
          Dim webClient As New System.Net.WebClient
  
          Dim result As String = webClient.DownloadString("http://emailsendingnotification.herokuapp.com/sendEmail/toemail@gmail.com/TheTransactionisSuccessfull")
  
  
      Catch ex As Exception
  
      End Try
  </code></pre>
  
  <p>In the above code instead of toemail@gmail.com in the API link, i need to fetch the email ID's from a database created in SQL Server 2014 Management Studio?</p>
  
  <pre><code>        Try 
  
          Dim webClient As New System.Net.WebClient
  
          Dim result As String = webClient.DownloadString("http://emailsendingnotification.herokuapp.com/sendEmail/+TextEmailAddress.Text.ToString()+/TheTransactionisSuccessfull")
  
      Catch ex As Exception
  
      End Try
  </code></pre>
  
  <p>This is what i have tried but nothing worked out.</p>
  
  <p>The expected result is that a notification mail saying the transaction is successful should be sent on the email Address.</p>