C
C#9mo ago
eid

❔ Azure data studio connection string.

i'm using linux so i use Azure data studio as sqlserver management studio. but i can't know the connection string that i will use in ado, when using sqlconnection, i tried that: var con=new SqlConnection("Server=localhost;Database=mydeb;User Id=sa;Password=25509;"); from that picture what may be?
5 Replies
Angius
Angius9mo ago
ConnectionStrings.com - Forgot that connection string? Get it here!
All connection strings in one place. Find the syntax for your database connection using ADO.NET, ADO, ODBC, OLEDB, C#, VB, VB.NET, ASP.NET and more.
eid
eid9mo ago
thanks, but there r a lot of string connection i can't know which one i should use, i mean i want one that has all the parameters in my picture, the way of paramters is working good with me, but i need it in the shape of string connection to add the right string connection in my sqlcomandconnection in ado
Angius
Angius9mo ago
Well, you need to use the one that matches your chosen database Then you input your server where it says "server", your username where it says "username", your database name where it says "dbname", and so on
eid
eid9mo ago
from the awesome link u send , i tried one of the strings, i tried that and add the params of my picture: Server=localhost;Database=default;User Id=sa;Password=1243455; but there is params i don't know what the equivalent string to it, like encrypt:mandatory(true),server group <default> and trusted server certificate:true
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ Want to try predict the ballon d'or but not really sure where to startI would like to make a program that uses statistics to try calculate the ballon d'or winner, i wantRole based Authorize Blazor Server + ClientI am stuck trying to use the @attribute [Authorize(Roles = "Admin")] in my blazor component on clien❔ Trying to maximize the amount of messages my worker can process while using Channels.I am working with AWS SQS queue and using a channel to write messages to and read from. This is how❔ Connecting to a local DBPackages Used: ``` Dapper v2.0.151 Microsoft.Extensions.Configuration.Abstractions 7.0.0 System.Data✅ Synchronize text box to calculate the average of the next 5 text boxesI have a WPF project where I want to calculate the average of 5 textboxes. I want to synchronize the❔ Blazor State Container Prompt, Standardized for all PagesI have a simple state container in blazor. The goal is to provide the AppEntity value: ```public cl❔ Please help with a ''simple'' cash-register simulator.I need my program to be able to tell how many 50 cents it will give back to the customer. For exampl❔ Sharepoint REST API 401 ErrorI'm using MSAL Node get token interactive in my electron to get an access token that will be appende❔ Can anyone help explain what it's talking about?Is it trying to get me to copy the array value from arrayOne to arrayTwo? If so, how? It never taugh❔ Is it a good idea to use a "processed model" in addition to the model bound by ASP.NET itself?First of all, I wanted to do this because I wanted to avoid writing a custom model binder. Let's say