It's simple but effective CRM; Windows applications using a Microsoft Access database.

CRM

1. First of all design the form like this then use code as in the following:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

namespace Combobox_related_datagridview

{

public partial class Form2 : Form

{

public Form2()

{

InitializeComponent();

}

private void groupBox2_Enter(object sender, EventArgs e)

{

}

private void pictureBox4_Click(object sender, EventArgs e)

{

if (textBox3.Text == "Astro" && textBox4.Text == "Acoglobal")

{

Form3 f3 = new Form3();

f3.Show();

this.Hide();

}

else

{

errorProvider1.SetError(textBox3, "error");

errorProvider1.SetError(textBox4, "error");

label5.Text = "Login Details Wrong";

}

}

private void textBox4_TextChanged(object sender, EventArgs e)

{

}

}

}