Step 1: Form
Drag down a button and write its text as "Open".

Step 2: Code
Double click on the button and write this code.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace First_Csharp_app
{
public partial class Form1 : Form


Join the conversation! Your thoughts help the community grow.