Page

How to Build a New Database in Access

Step 1. Create a blank database. First, launch Access and choose File> New.




Step 2. Add a database name. then press create.



Step 3. Right Click on Table.and select Design View and set the table name.




Step 4. Add Column name and set the DataType 




Step 5. Click Save



Messagebox with Yes No button c#

private void btnclose_Click(object sender, EventArgs e)
        {
            string message = "Do you want to close this window?";
            string title = "Tools Management System";
            MessageBoxButtons buttons = MessageBoxButtons.YesNo;

            DialogResult result = MessageBox.Show(message, title, buttons);
            if (result == DialogResult.Yes)
            {
                this.Dispose();
            }
            else
            {
                // Do something
            }
        }