
Database Connection in C#
In C#, for SQLServer connection, we need to call SqlClient namespace (using System.Data.SqlClient;), or for another database, we call the required namespace. For MySQL, if the .NET connector is installed, we use using My...
Found 10 results for this tag.

In C#, for SQLServer connection, we need to call SqlClient namespace (using System.Data.SqlClient;), or for another database, we call the required namespace. For MySQL, if the .NET connector is installed, we use using My...

We have two different tables, one for topics opened and the other for users.In the system, the id information of the user who opens the topic is also kept in the table where the topics are found.In the Topics TableThere...

The database we will connect to: ornek_veritabani We have created our database and our table named isim_listesi. We defined the type of the column named id as int, which means integer, and defined it as the primary i...

In C#, we use the SqlCommand command to execute queries in the database. Since I will continue with MySQL for our example, I will use the MySqlCommand command. Start a new Windows Forms application and add two buttons a...

I had explained how to connect to a database and execute queries in PHP.Classic database connection is done with the mysql_connect() command, and query execution is done with mysql_query(), but the PDO structure is a bit...

I have completed the blog system that I have been developing for my own website in my spare time after work and shared it as open source on my Github account. I developed this blog system with Laravel and used MongoDB a...

Sometimes we need a simple search engine within our websites to find topics. Let me explain this with a simple example: HTML codes for the form that will perform the search: <form action="result.php" method="get">...

MongoDB is a NoSQL database. NoSQL can be expanded as "not only SQL," meaning it's not SQL. This is because the queries executed are not the ones you're used to in MySQL or MS SQL systems. Advantages of NoSQL Systems T...

In my previous writings, I talked about integrating Laravel with both Meilisearch and MongoDB separately. In this piece, I'll discuss how to use all three together. As I mentioned in my previous posts, we're integrating...

Hello, due to my busy schedule, I haven't been able to write blog posts for a long time. In this article, I will explain how to use MongoDB in your Laravel project. Laravel is installed by default with MySQL support. Add...