IT ADMINISTRATOR / SOFTWARE SPECIALIST / WEB DEVELOPMENT
Setting.ini [Database]Server=localhostPort=3306Database=mydatabaseUser=rootPassword=123456 C# kodu using System;using System.Collections.Generic;using System.IO; class Program{static void Main(string[] args){string iniFilePath = “settings.ini”; // .ini dosyasını okuma Dictionary<string, Dictionary<string, string>> settings =…
using System;using MySql.Data.MySqlClient; class Program{static void Main(){// Veritabanı bağlantı dizesistring connectionString = “server=localhost;port=3306;database=mydatabase;uid=root;password=your_password;”; // SQL sorgusu string queryString = “SELECT * FROM TableName”; // Veritabanı…