Rugjrh
Rugjrh
CC#
Created by Rugjrh on 11/1/2023 in #help
❔ DataBaseProblem
Hi Guys! I have this code when I try to make my db connection: SqlConnection con; public MainForm() { InitializeComponent(); con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True"); con.Open(); } But my app doesn't run. What's the problem? I'm a beginner in SQL.
52 replies
CC#
Created by Rugjrh on 10/29/2023 in #help
❔ Database
Hi guys! I have a problem. I created a Database with visual studio c#, but when I run the code my database connection close immediately.
8 replies
CC#
Created by Rugjrh on 10/27/2023 in #help
✅ Datababse
Hi! I want some help in SQL. I created a datababse in c# and I don't know how to add new registers from another form with button clicks.
13 replies