Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Session("Emp_UserLogin") = User.Identity.Name Dim myConnectionString As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\CAC.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" Using myConnection As New SqlConnection(myConnectionString) Dim myCommand As New SqlCommand() myCommand.Connection = myConnection myCommand.CommandText = "SELECT [EmpID] FROM [Employer] WHERE ([Emp_UserLogin] = '" & Session("Emp_UserLogin") & "')" myConnection.Open() Session("EmpID") = myCommand.ExecuteScalar() End Using
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|ASP.Net MVC Login functions with my own Database and User Tables||2||51|
|Dictionary and array of [N] size - performance tuned||12||51|
|Build a string of emails from a gridview||2||28|
Join the community of 500,000 technology professionals and ask your questions.