Hope you are using EF..
1. For insert you no need to go for LINQ,
just take instance object of table from Context and add table object.
2.Update operation..
protected void btnUpdate_Click(object sender, EventArgs e)
{
int ContactID = Convert.ToInt32(Request.QueryString["ContactID"]);
ContactContext ctxContact = new ContactContext();
tblContact Contact = ctxContact.tblContacts.SingleOrDefault(ID => ID.ID == ContactID);
Contact.Name = txtName.Text;
Contact.Address = txtAddress.Text;
Contact.PhoneNo = Convert.ToInt64(txtPhone.Text);
if (objDB.SaveChanges() == 1)
{
}
}
3.Delete operation..
protected void btnDelete_RowCommand(object sender, EventArgs e)
{
int ContactID = Convert.ToInt32(Request.QueryString["ContactID"]);
dbTestEntities objDB = new dbTestEntities();
tblContact obj=objDB.tblContacts.SingleOrDefault(ID=>ID.ID==intContactID);
objDB.tblContacts.DeleteObject(obj);
if(objDB.SaveChanges()==1)
{
}
}