protected void btnDelete_Click(object sender, EventArgs e)
        {
            EmployeeTb1 emptb1 = db.EmployeeTb1s.Single(em => em.empId == Convert.ToInt32(TextBox1.Text));

            db.EmployeeTb1s.DeleteOnSubmit(emptb1);
            db.SubmitChanges();
            ShowGrid();
        }
        protected void btnUpdate_Click(object sender, EventArgs e)
        {
            EmployeeTb1 emptb1 = db.EmployeeTb1s.Single(em => em.empId == Convert.ToInt32(TextBox1.Text));

            emptb1.empName = TextBox2.Text;
            emptb1.empSal  = Convert.ToSingle(TextBox3.Text);
            db.SubmitChanges();
            ShowGrid();
        }
        protected void btnInsert_Click(object sender, EventArgs e)
        {
            EmployeeTb1 emp = new EmployeeTb1();

            emp.empName = TextBox2.Text;
            emp.empSal  = Convert.ToSingle(TextBox3.Text);
            db.GetTable <EmployeeTb1>().InsertOnSubmit(emp);
            db.SubmitChanges();
            ShowGrid();
        }
 partial void DeleteEmployeeTb1(EmployeeTb1 instance);
 partial void UpdateEmployeeTb1(EmployeeTb1 instance);
 partial void InsertEmployeeTb1(EmployeeTb1 instance);