Search results for query: *

  • Users: demondan
  • Content: Threads
  • Order by date
  1. D

    Question Custom Windows service - Send emails via SMTP

    Hi I have developed a windows service that receives requests to send out emails via a SQL database. Other applications populate the database and the windows service checks the database and processes the information to send out an email. I am struggling with understanding how specifying...
  2. D

    Visual Studio 2017 - adding references

    Hi guys I am trying to access a connection string created in the web.config file of my project. Using: SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringNameFromWebConfig"].ConnectionString); Problem is...
  3. D

    Visual studio website - global variables/functions

    Hi Another beginner question... I'd like to setup some global variables to use within a website, such as username of an active user/a database string that multiple pages would access. Is there a suitable file to set these up in? Same goes for common functions. I've looked online for an...
  4. D

    website and cshtml?

    Hi guys Hope your all well? I'm building a website in visual studio, each page has two files to it a .cshtml and a .cshtml.cs where the .cs is clearly c# and .cshtml is html. I cant seem to find an answer as to what each one is generally used for? The beginner tutorials often have the .cs...
Back
Top Bottom