Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4538200
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:46:45+00:00 2026-05-21T14:46:45+00:00

well I need to have access since another place (using internet) but I don’t

  • 0

well I need to have access since another place (using internet) but I don’t have another PC for I see if this is OK … I do have the connection since here myself computer, but I am going to need if I have a connection since another computer to my database, or do you know any another form? (it is for a windows application)

here my class connection because you watch if it is ok..

namespace Coneccion
{
    class Conexion
    {
        public SqlConnection conectar()
        {
            SqlConnection con = new SqlConnection(@"Data Source=server,1433;Failover Partner=ip;Initial Catalog=database;Persist Security Info=True;User ID=login; Password=password; Asynchronous Processing=True;TrustServerCertificate=True;Network Library=dbmssocn;Workstation ID=pc;User Instance=False");
            return con;
        }

        public void EjecutarConsulta(SqlCommand comando)
        {
            comando.Connection.Open(); // abrimos la conexion
            comando.ExecuteNonQuery(); // ejecutamos la consulta
            comando.Connection.Close(); // y cerramos la conexion
        }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:46:45+00:00Added an answer on May 21, 2026 at 2:46 pm

    Maybe this code getting some error in another computer.

    TrustServerCertificate=True
    

    But rest of the code is OK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well i need some help here i don't know how to solve this problem.
Well i need to make it so any user can have a foo.com/username in
Well, I have a class Customer (no base class). I need to cast from
Well... that's it. I need something simple and reliable (doesn't have to have fancy
I need to embed an entire well-formed xml document within another xml document. However,
Here's the thing, I don't have access to code that inserts data into a
i have been googling since morning for an answer that meets what i need
I understand very well the need for websites' front ends to be coded and
I'm a beginner in ruby and in programming as well and need help with
Well behaved windows programs need to allow users to save their work when they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.